<!DOCTYPE html><html><head><title>lodash v3.10.1</title><meta charset='utf-8'>
<style>
.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table}.con
                                                                                                                                                content:" ";display:table}.container:after{clear:both}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.row{margin-left:-15px;margin-right:-15px}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:21px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.45;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:none}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{position:static;float:none;display:table-column}table td[class*="col-"],table th[class*="col-"]{float:none;display:table-cell}.table>thead>tr>.active,.table>tbody>tr>.active,.table>tfoot>tr>.active,.table>thead>.active>td,.table>tbody>.active>td,.table>tfoot>.active>td,.table>thead>.active>th,.table>tbody>.active>th,.table>tfoot>.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>.active:hover,.table-hover>tbody>.active:hover>td,.table-hover>tbody>.active:hover>th{background-color:#e8e8e8}.table>thead>tr>.success,.table>tbody>tr>.success,.table>tfoot>tr>.success,.table>thead>.success>td,.table>tbody>.success>td,.table>tfoot>.success>td,.table>thead>.success>th,.table>tbody>.success>th,.table>tfoot>.success>th{background-color:#dff0d8}.table-hover>tbody>tr>.success:hover,.table-hover>tbody>.success:hover>td,.table-hover>tbody>.success:hover>th{background-color:#d0e9c6}.table>thead>tr>.danger,.table>tbody>tr>.danger,.table>tfoot>tr>.danger,.table>thead>.danger>td,.table>tbody>.danger>td,.table>tfoot>.danger>td,.table>thead>.danger>th,.table>tbody>.danger>th,.table>tfoot>.danger>th{background-color:rgba(232,76,61,0.1)}.table-hover>tbody>tr>.danger:hover,.table-hover>tbody>.danger:hover>td,.table-hover>tbody>.danger:hover>th{background-color:rgba(229,55,38,0.1)}.table>thead>tr>.warning,.table>tbody>tr>.warning,.table>tfoot>tr>.warning,.table>thead>.warning>td,.table>tbody>.warning>td,.table>tfoot>.warning>td,.table>thead>.warning>th,.table>tbody>.warning>th,.table>tfoot>.warning>th{background-color:rgba(255,209,0,0.12)}.table-hover>tbody>tr>.warning:hover,.table-hover>tbody>.warning:hover>td,.table-hover>tbody>.warning:hover>th{background-color:rgba(230,188,0,0.12)}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15.75px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:21px;font-size:22.5px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],select[size]{height:auto}select optgroup{font-size:inherit;font-style:inherit;font-family:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:15px;line-height:1.45;color:#2c3f51;vertical-align:middle}.form-control{display:block;width:100%;height:42px;padding:6px 12px;font-size:15px;line-height:1.45;color:#2c3f51;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #dee6ed;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6)}.form-control:focus{border-color:#dee6ed;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 12px -1px rgba(102, 128, 153, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 12px -1px rgba(102, 128, 153, 0.6)}.form-control:focus{border-color:rgba(25,128,230,0.5);outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 12px -1px #1980e6;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 12px -1px #1980e6}.form-control:-moz-placeholder{color:#d5dfe9}.form-control::-moz-placeholder{color:#d5dfe9;opacity:1}.form-control:-ms-input-placeholder{color:#d5dfe9}.form-control::-webkit-input-placeholder{color:#d5dfe9}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:none}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:21px;margin-top:10px;margin-bottom:10px;padding-left:20px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:normal;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:31px;padding:5px 10px;font-size:13px;line-height:1.5;border-radius:3px}select.input-sm{height:31px;line-height:31px}textarea.input-sm{height:auto}.input-lg{height:48px;padding:10px 16px;font-size:19px;line-height:1.33;border-radius:6px}select.input-lg{height:48px;line-height:48px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#b89600}.has-warning .form-control{border-color:#b89600;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#856d00;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffd61f;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ffd61f}.has-warning .input-group-addon{color:#b89600;border-color:#b89600;background-color:rgba(255,209,0,0.12)}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#d82a1a}.has-error .form-control{border-color:#d82a1a;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#ab2114;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ed766b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ed766b}.has-error .input-group-addon{color:#d82a1a;border-color:#d82a1a;background-color:rgba(232,76,61,0.1)}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#587ea4}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:28px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{content:" ";display:table}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{content:" ";display:table}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:15px;line-height:1.45;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#425e7b;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=65);filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#425e7b;background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#425e7b;background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-default .badge{color:rgba(0,0,0,0);background-color:#fff}.btn-primary{color:#425e7b;background-color:#e4ebf1;border-color:rgba(0,128,255,0.05)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#425e7b;background-color:#cad6e2;border-color:rgba(0,97,194,0.05)}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#e4ebf1;border-color:rgba(0,128,255,0.05)}.btn-primary .badge{color:#e4ebf1;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-success{color:#364d63;background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#364d63;background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-success .badge{color:rgba(0,0,0,0);background-color:#fff}.btn-info{color:rgba(102,128,153,0.35);background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:rgba(102,128,153,0.35);background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.btn-info .badge{color:rgba(0,0,0,0);background-color:#fff}.btn-link{color:#1980e6;font-weight:normal;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#0f4d8a;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:19px;line-height:1.33;border-radius:6px}.btn-sm{padding:5px 10px;font-size:13px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:13px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:15px;background-color:#fff;border:1px solid #ccc;border:1px solid #dee6ed;border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9.5px 0;overflow:hidden;background-color:#dee6ed}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.45;color:#2c3f51;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#2d4053;background-color:rgba(102,128,153,0.04)}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#428bca}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#d5dfe9}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:13px;line-height:1.45;color:rgba(129,158,187,0.6)}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:none}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{content:" ";display:table}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{content:" ";display:table}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:1px 5px;font-size:13px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:13px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:19px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{content:" ";display:table}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{content:" ";display:table}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-left:0;padding-right:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:48px;padding:10px 16px;font-size:19px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:48px;line-height:48px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:31px;padding:5px 10px;font-size:13px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:31px;line-height:31px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:15px;font-weight:normal;line-height:1;color:#2c3f51;text-align:center;background-color:none;border:1px solid #dee6ed;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:13px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:19px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn:first-child>.btn{margin-right:-1px}.input-group-btn:last-child>.btn{margin-left:-1px}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav:before,.nav:after{content:" ";display:table}.nav:after{clear:both}.nav:before,.nav:after{content:" ";display:table}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:rgba(102,128,153,0.04)}.nav>li.disabled>a{color:#d5dfe9}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#d5dfe9;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:rgba(102,128,153,0.04);border-color:#1980e6}.nav .nav-divider{height:1px;margin:9.5px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid rgba(0,0,0,0)}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.45;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:none;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:none}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:none}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:21px;border:1px solid transparent}.navbar:before,.navbar:after{content:" ";display:table}.navbar:after{clear:both}.navbar:before,.navbar:after{content:" ";display:table}.navbar:after{clear:both}@media (min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{content:" ";display:table}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{content:" ";display:table}.navbar-header:after{clear:both}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{content:" ";display:table}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{content:" ";display:table}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block !important;height:auto !important;padding-bottom:0;overflow:visible !important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:14.5px 15px;font-size:19px;line-height:21px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.25px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:21px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:21px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:14.5px;padding-bottom:14.5px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left !important}.navbar-right{float:right !important}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);margin-top:4px;margin-bottom:4px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media (min-width:768px){.navbar-form .col-sm-1{width:8.33333333% !important}.navbar-form .col-sm-2{width:16.66666667% !important}.navbar-form .col-sm-3{width:25% !important}.navbar-form .col-sm-4{width:33.33333333% !important}.navbar-form .col-sm-5{width:41.66666667% !important}.navbar-form .col-sm-6{width:50% !important}.navbar-form .col-sm-7{width:58.33333333% !important}.navbar-form .col-sm-8{width:66.66666667% !important}.navbar-form .col-sm-9{width:75% !important}.navbar-form .col-sm-10{width:83.33333333% !important}.navbar-form .col-sm-11{width:91.66666667% !important}.navbar-form .col-sm-12{width:100% !important}}.navbar-form *{float:none}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-menu,.navbar-nav>li>.dropdown-menu.pull-right{left:auto;right:0}.navbar-btn{margin-top:4px;margin-bottom:4px}.navbar-btn.btn-sm{margin-top:9.5px;margin-bottom:9.5px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:14.5px;margin-bottom:14.5px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#e4ebf1;border-color:#cfdae5}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#cfdae5}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#cfdae5}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#cfdae5;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#cfdae5}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#080808;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:21px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:21px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.45;text-decoration:none;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{background-color:none}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:19px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:13px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:21px 0;list-style:none;text-align:center}.pager:before,.pager:after{content:" ";display:table}.pager:after{clear:both}.pager:before,.pager:after{content:" ";display:table}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:none}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#ebc000}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#b89600}.label-danger{background-color:#e63b2b}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c62717}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:13px;font-weight:bold;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#1980e6;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:23px;font-weight:200;line-height:2.175;color:inherit;background-color:none}.jumbotron h1,.jumbotron .h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:67.5px}}.thumbnail{display:block;padding:4px;margin-bottom:21px;line-height:1.45;background-color:none;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto;margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#1980e6}.thumbnail .caption{padding:9px;color:#2c3f51}.alert{padding:15px;margin-bottom:21px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:rgba(255,209,0,0.12);border-color:rgba(255,209,0,0.24);color:#b89600}.alert-warning hr{border-top-color:rgba(230,188,0,0.24)}.alert-warning .alert-link{color:#856d00}.alert-danger{background-color:rgba(232,76,61,0.1);border-color:rgba(232,76,61,0.15);color:#d82a1a}.alert-danger hr{border-top-color:rgba(229,55,38,0.15)}.alert-danger .alert-link{color:#ab2114}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:21px;margin-bottom:21px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:13px;line-height:21px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#f6f7f9;border:1px solid rgba(0,0,0,0)}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#eee}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#4b5666}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#2d4053;background-color:#e4ebf1;border-color:rgba(0,128,255,0.05)}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#fff}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:21px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{content:" ";display:table}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{content:" ";display:table}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child th,.panel>.table>tbody:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:last-child>td,.panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:17px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;border-radius:4px;overflow:hidden}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:rgba(255,209,0,0.24)}.panel-warning>.panel-heading{color:#b89600;background-color:rgba(255,209,0,0.12);border-color:rgba(255,209,0,0.24)}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:rgba(255,209,0,0.24)}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:rgba(255,209,0,0.24)}.panel-danger{border-color:rgba(232,76,61,0.15)}.panel-danger>.panel-heading{color:#d82a1a;background-color:rgba(232,76,61,0.1);border-color:rgba(232,76,61,0.15)}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:rgba(232,76,61,0.15)}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:rgba(232,76,61,0.15)}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:22.5px;font-weight:bold;line-height:1;color:#2c3f51;text-shadow:0 1px 0 #fff;opacity:.2;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=20);filter:alpha(opacity=20)}.close:hover,.close:focus{color:#2c3f51;text-decoration:none;cursor:pointer;opacity:.5;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:auto;overflow-y:scroll;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040}.modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform 0.3s ease-out;-moz-transition:-moz-transform 0.3s ease-out;-o-transition:-o-transform 0.3s ease-out;transition:transform 0.3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)}.modal-dialog{position:relative;width:auto;margin:10px;z-index:1050}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid #dee6ed;border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box;outline:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#73808c}.modal-backdrop.fade{opacity:0;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #ebf0f4;min-height:16.45px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.45}.modal-body{position:relative;padding:20px}.modal-footer{margin-top:15px;padding:19px 20px 20px;text-align:right;border-top:1px solid #ebf0f4}.modal-footer:before,.modal-footer:after{content:" ";display:table}.modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{content:" ";display:table}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:13px;line-height:1.4;opacity:0;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);filter:alpha(opacity=0)}.tooltip.in{opacity:.9;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:250px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;right:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;background-color:#475160;background-clip:padding-box;border:1px solid #ccc;border:1px solid #dee6ed;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);white-space:normal}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:15px;font-weight:normal;line-height:18px;background-color:rgba(0,0,0,0);border-bottom:1px solid rgba(0,0,0,0);border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:#dee6ed;bottom:-11px}.popover.top .arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#475160}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:#dee6ed}.popover.right .arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#475160}.popover.bottom .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:#dee6ed;top:-11px}.popover.bottom .arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#475160}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:#dee6ed}.popover.left .arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#475160;bottom:-10px}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important;visibility:hidden !important}.affix{position:fixed}@font-face{font-family:'fontello';src:url('../font/fontello.eot?70892477');src:url('../font/fontello.eot?70892477#iefix') format('embedded-opentype'),url('../font/fontello.woff?70892477') format('woff'),url('../font/fontello.ttf?70892477') format('truetype'),url('../font/fontello.svg?70892477#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-glass:before{content:'\e800'}.icon-resize-full-1:before{content:'\e801'}.icon-search:before{content:'\e802'}.icon-mail:before{content:'\e803'}.icon-mail-alt:before{content:'\e804'}.icon-heart:before{content:'\e805'}.icon-heart-empty:before{content:'\e806'}.icon-star:before{content:'\e807'}.icon-star-empty:before{content:'\e808'}.icon-star-half:before{content:'\e809'}.icon-star-half-alt:before{content:'\e80a'}.icon-user:before{content:'\e80b'}.icon-users:before{content:'\e80c'}.icon-male:before{content:'\e80d'}.icon-female:before{content:'\e80e'}.icon-video:before{content:'\e80f'}.icon-videocam:before{content:'\e810'}.icon-picture:before{content:'\e811'}.icon-camera:before{content:'\e812'}.icon-camera-alt:before{content:'\e813'}.icon-th-large:before{content:'\e814'}.icon-th:before{content:'\e815'}.icon-th-list:before{content:'\e816'}.icon-ok:before{content:'\e817'}.icon-ok-circled:before{content:'\e818'}.icon-ok-circled2:before{content:'\e819'}.icon-ok-squared:before{content:'\e81a'}.icon-cancel:before{content:'\e81b'}.icon-cancel-circled:before{content:'\e81c'}.icon-cancel-circled2:before{content:'\e81d'}.icon-plus:before{content:'\e81e'}.icon-plus-circled:before{content:'\e81f'}.icon-plus-squared:before{content:'\e820'}.icon-plus-squared-small:before{content:'\e821'}.icon-minus:before{content:'\e822'}.icon-minus-circled:before{content:'\e823'}.icon-minus-squared:before{content:'\e824'}.icon-minus-squared-alt:before{content:'\e825'}.icon-minus-squared-small:before{content:'\e826'}.icon-help:before{content:'\e827'}.icon-help-circled:before{content:'\e828'}.icon-info-circled:before{content:'\e829'}.icon-info:before{content:'\e82a'}.icon-home:before{content:'\e82b'}.icon-link:before{content:'\e82c'}.icon-unlink:before{content:'\e82d'}.icon-link-ext:before{content:'\e82e'}.icon-link-ext-alt:before{content:'\e82f'}.icon-attach:before{content:'\e830'}.icon-lock:before{content:'\e831'}.icon-lock-open:before{content:'\e832'}.icon-lock-open-alt:before{content:'\e833'}.icon-pin:before{content:'\e834'}.icon-eye:before{content:'\e835'}.icon-eye-off:before{content:'\e836'}.icon-tag:before{content:'\e837'}.icon-tags:before{content:'\e838'}.icon-bookmark:before{content:'\e839'}.icon-bookmark-empty:before{content:'\e83a'}.icon-flag:before{content:'\e83b'}.icon-flag-empty:before{content:'\e83c'}.icon-flag-checkered:before{content:'\e83d'}.icon-thumbs-up:before{content:'\e83e'}.icon-thumbs-down:before{content:'\e83f'}.icon-thumbs-up-alt:before{content:'\e840'}.icon-thumbs-down-alt:before{content:'\e841'}.icon-download:before{content:'\e842'}.icon-upload:before{content:'\e843'}.icon-download-cloud:before{content:'\e844'}.icon-upload-cloud:before{content:'\e845'}.icon-reply:before{content:'\e846'}.icon-reply-all:before{content:'\e847'}.icon-forward:before{content:'\e848'}.icon-quote-left:before{content:'\e849'}.icon-quote-right:before{content:'\e84a'}.icon-export-alt:before{content:'\e84b'}.icon-pencil:before{content:'\e84c'}.icon-pencil-squared:before{content:'\e84d'}.icon-edit:before{content:'\e84e'}.icon-print:before{content:'\e84f'}.icon-retweet:before{content:'\e850'}.icon-keyboard:before{content:'\e851'}.icon-gamepad:before{content:'\e852'}.icon-comment:before{content:'\e853'}.icon-chat:before{content:'\e854'}.icon-comment-empty:before{content:'\e855'}.icon-chat-empty:before{content:'\e856'}.icon-bell:before{content:'\e857'}.icon-bell-alt:before{content:'\e858'}.icon-attention-alt:before{content:'\e859'}.icon-attention:before{content:'\e85a'}.icon-attention-circled:before{content:'\e85b'}.icon-location:before{content:'\e85c'}.icon-direction:before{content:'\e85d'}.icon-compass:before{content:'\e85e'}.icon-doc:before{content:'\e85f'}.icon-docs:before{content:'\e860'}.icon-doc-text:before{content:'\e861'}.icon-file:before{content:'\e862'}.icon-doc-text-inv:before{content:'\e863'}.icon-folder-empty:before{content:'\e864'}.icon-folder-open-empty:before{content:'\e865'}.icon-box:before{content:'\e866'}.icon-rss:before{content:'\e867'}.icon-rss-squared:before{content:'\e868'}.icon-phone:before{content:'\e869'}.icon-phone-squared:before{content:'\e86a'}.icon-menu:before{content:'\e86b'}.icon-cog:before{content:'\e86c'}.icon-cog-alt:before{content:'\e86d'}.icon-wrench:before{content:'\e86e'}.icon-basket:before{content:'\e86f'}.icon-calendar:before{content:'\e870'}.icon-calendar-empty:before{content:'\e871'}.icon-login:before{content:'\e872'}.icon-logout:before{content:'\e873'}.icon-mic:before{content:'\e874'}.icon-mute:before{content:'\e875'}.icon-volume-off:before{content:'\e876'}.icon-volume-down:before{content:'\e877'}.icon-volume-up:before{content:'\e878'}.icon-headphones:before{content:'\e879'}.icon-clock:before{content:'\e87a'}.icon-lightbulb:before{content:'\e87b'}.icon-block:before{content:'\e87c'}.icon-resize-full-alt:before{content:'\e87d'}.icon-resize-small:before{content:'\e87e'}.icon-resize-vertical:before{content:'\e87f'}.icon-resize-horizontal:before{content:'\e880'}.icon-move:before{content:'\e881'}.icon-zoom-in:before{content:'\e882'}.icon-zoom-out:before{content:'\e883'}.icon-down-circled2:before{content:'\e884'}.icon-up-circled2:before{content:'\e885'}.icon-down-dir:before{content:'\e886'}.icon-up-dir:before{content:'\e887'}.icon-left-dir:before{content:'\e888'}.icon-right-dir:before{content:'\e889'}.icon-down-open:before{content:'\e88a'}.icon-left-open:before{content:'\e88b'}.icon-right-open:before{content:'\e88c'}.icon-up-open:before{content:'\e88d'}.icon-angle-left:before{content:'\e88e'}.icon-angle-right:before{content:'\e88f'}.icon-angle-up:before{content:'\e890'}.icon-angle-down:before{content:'\e891'}.icon-angle-circled-left:before{content:'\e892'}.icon-angle-circled-right:before{content:'\e893'}.icon-angle-circled-up:before{content:'\e894'}.icon-angle-circled-down:before{content:'\e895'}.icon-angle-double-left:before{content:'\e896'}.icon-angle-double-right:before{content:'\e897'}.icon-angle-double-up:before{content:'\e898'}.icon-angle-double-down:before{content:'\e899'}.icon-down:before{content:'\e89a'}.icon-left:before{content:'\e89b'}.icon-right:before{content:'\e89c'}.icon-up:before{content:'\e89d'}.icon-down-big:before{content:'\e89e'}.icon-music:before{content:'\e89f'}.icon-archive:before{content:'\e8a0'}.icon-up-big:before{content:'\e8a1'}.icon-right-hand:before{content:'\e8a2'}.icon-resize-small-1:before{content:'\e8a3'}.icon-cancel-squared:before{content:'\e8a4'}.icon-down-hand:before{content:'\e8a5'}.icon-left-circled:before{content:'\e8a6'}.icon-right-circled:before{content:'\e8a7'}.icon-up-circled:before{content:'\e8a8'}.icon-down-circled:before{content:'\e8a9'}.icon-cw:before{content:'\e8aa'}.icon-ccw:before{content:'\e8ab'}.icon-refresh:before{content:'\e8ac'}.icon-level-up:before{content:'\e8ad'}.icon-level-down:before{content:'\e8ae'}.icon-shuffle:before{content:'\e8af'}.icon-exchange:before{content:'\e8b0'}.icon-collapse:before{content:'\e8b1'}.icon-collapse-top:before{content:'\e8b2'}.icon-expand:before{content:'\e8b3'}.icon-play:before{content:'\e8b4'}.icon-play-circled:before{content:'\e8b5'}.icon-play-circled2:before{content:'\e8b6'}.icon-stop:before{content:'\e8b7'}.icon-pause:before{content:'\e8b8'}.icon-to-end:before{content:'\e8b9'}.icon-to-end-alt:before{content:'\e8ba'}.icon-to-start:before{content:'\e8bb'}.icon-to-start-alt:before{content:'\e8bc'}.icon-fast-fw:before{content:'\e8bd'}.icon-fast-bw:before{content:'\e8be'}.icon-eject:before{content:'\e8bf'}.icon-signal:before{content:'\e8c0'}.icon-award:before{content:'\e8c1'}.icon-desktop:before{content:'\e8c2'}.icon-laptop:before{content:'\e8c3'}.icon-tablet:before{content:'\e8c4'}.icon-mobile:before{content:'\e8c5'}.icon-inbox:before{content:'\e8c6'}.icon-globe:before{content:'\e8c7'}.icon-sun:before{content:'\e8c8'}.icon-cloud:before{content:'\e8c9'}.icon-flash:before{content:'\e8ca'}.icon-moon:before{content:'\e8cb'}.icon-umbrella:before{content:'\e8cc'}.icon-flight:before{content:'\e8cd'}.icon-fighter-jet:before{content:'\e8ce'}.icon-leaf:before{content:'\e8cf'}.icon-font:before{content:'\e8d0'}.icon-bold:before{content:'\e8d1'}.icon-italic:before{content:'\e8d2'}.icon-text-height:before{content:'\e8d3'}.icon-text-width:before{content:'\e8d4'}.icon-align-left:before{content:'\e8d5'}.icon-align-center:before{content:'\e8d6'}.icon-align-right:before{content:'\e8d7'}.icon-align-justify:before{content:'\e8d8'}.icon-list:before{content:'\e8d9'}.icon-indent-left:before{content:'\e8da'}.icon-indent-right:before{content:'\e8db'}.icon-list-bullet:before{content:'\e8dc'}.icon-list-numbered:before{content:'\e8dd'}.icon-strike:before{content:'\e8de'}.icon-underline:before{content:'\e8df'}.icon-superscript:before{content:'\e8e0'}.icon-subscript:before{content:'\e8e1'}.icon-table:before{content:'\e8e2'}.icon-columns:before{content:'\e8e3'}.icon-crop:before{content:'\e8e4'}.icon-scissors:before{content:'\e8e5'}.icon-paste:before{content:'\e8e6'}.icon-briefcase:before{content:'\e8e7'}.icon-suitcase:before{content:'\e8e8'}.icon-ellipsis:before{content:'\e8e9'}.icon-ellipsis-vert:before{content:'\e8ea'}.icon-off:before{content:'\e8eb'}.icon-road:before{content:'\e8ec'}.icon-list-alt:before{content:'\e8ed'}.icon-qrcode:before{content:'\e8ee'}.icon-barcode:before{content:'\e8ef'}.icon-book:before{content:'\e8f0'}.icon-ajust:before{content:'\e8f1'}.icon-tint:before{content:'\e8f2'}.icon-check:before{content:'\e8f3'}.icon-check-empty:before{content:'\e8f4'}.icon-circle:before{content:'\e8f5'}.icon-circle-empty:before{content:'\e8f6'}.icon-asterisk:before{content:'\e8f7'}.icon-gift:before{content:'\e8f8'}.icon-fire:before{content:'\e8f9'}.icon-magnet:before{content:'\e8fa'}.icon-ticket:before{content:'\e8fb'}.icon-credit-card:before{content:'\e8fc'}.icon-floppy:before{content:'\e8fd'}.icon-megaphone:before{content:'\e8fe'}.icon-key:before{content:'\e8ff'}.icon-fork:before{content:'\e900'}.icon-rocket:before{content:'\e901'}.icon-bug:before{content:'\e902'}.icon-certificate:before{content:'\e903'}.icon-tasks:before{content:'\e904'}.icon-filter:before{content:'\e905'}.icon-beaker:before{content:'\e906'}.icon-magic:before{content:'\e907'}.icon-truck:before{content:'\e908'}.icon-money:before{content:'\e909'}.icon-euro:before{content:'\e90a'}.icon-pound:before{content:'\e90b'}.icon-dollar:before{content:'\e90c'}.icon-rupee:before{content:'\e90d'}.icon-yen:before{content:'\e90e'}.icon-renminbi:before{content:'\e90f'}.icon-won:before{content:'\e910'}.icon-bitcoin:before{content:'\e911'}.icon-sort:before{content:'\e912'}.icon-sort-down:before{content:'\e913'}.icon-sort-up:before{content:'\e914'}.icon-sort-alt-up:before{content:'\e915'}.icon-sort-alt-down:before{content:'\e916'}.icon-sort-name-up:before{content:'\e917'}.icon-sort-name-down:before{content:'\e918'}.icon-sort-number-up:before{content:'\e919'}.icon-sort-number-down:before{content:'\e91a'}.icon-hammer:before{content:'\e91b'}.icon-gauge:before{content:'\e91c'}.icon-sitemap:before{content:'\e91d'}.icon-spinner:before{content:'\e91e'}.icon-coffee:before{content:'\e91f'}.icon-food:before{content:'\e920'}.icon-beer:before{content:'\e921'}.icon-user-md:before{content:'\e922'}.icon-stethoscope:before{content:'\e923'}.icon-ambulance:before{content:'\e924'}.icon-medkit:before{content:'\e925'}.icon-h-sigh:before{content:'\e926'}.icon-hospital:before{content:'\e927'}.icon-building:before{content:'\e928'}.icon-smile:before{content:'\e929'}.icon-frown:before{content:'\e92a'}.icon-meh:before{content:'\e92b'}.icon-anchor:before{content:'\e92c'}.icon-terminal:before{content:'\e92d'}.icon-eraser:before{content:'\e92e'}.icon-puzzle:before{content:'\e92f'}.icon-shield:before{content:'\e930'}.icon-extinguisher:before{content:'\e931'}.icon-bullseye:before{content:'\e932'}.icon-resize-full:before{content:'\e933'}.icon-target:before{content:'\e934'}.icon-layers:before{content:'\e935'}.icon-chart-bar:before{content:'\e936'}.icon-share:before{content:'\e937'}.icon-hdd:before{content:'\e938'}.icon-trash:before{content:'\e939'}.icon-folder:before{content:'\e93a'}.icon-code:before{content:'\e93b'}.icon-folder-open:before{content:'\e93c'}.icon-left-big:before{content:'\e93d'}.icon-evernote:before{content:'\e93e'}.icon-right-big:before{content:'\e93f'}.icon-spin3:before{content:'\e940'}.icon-spin4:before{content:'\e941'}.icon-spin6:before{content:'\e942'}.icon-arrows-cw:before{content:'\e943'}.icon-resize-normal:before{content:'\e944'}.icon-left-hand:before{content:'\e945'}.icon-evernote-1:before{content:'\e946'}.icon-up-hand:before{content:'\e947'}.icon-file-pdf:before{content:'\e948'}.icon-doc-text-1:before{content:'\e949'}.icon-file-word:before{content:'\e94a'}.icon-file-excel:before{content:'\e94b'}.icon-file-powerpoint:before{content:'\e94c'}.icon-file-image:before{content:'\e94d'}.icon-file-archive:before{content:'\e94e'}.icon-file-audio:before{content:'\e94f'}.icon-file-video:before{content:'\e950'}.icon-file-code:before{content:'\e951'}.icon-doc-1:before{content:'\e952'}.icon-share-1:before{content:'\e953'}.icon-users-1:before{content:'\e954'}/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Arial,"Hiragino Sans GB","STHeiti","Microsoft YaHei","WenQuanYi Micro Hei",SimSun,Song,sans-serif;font-size:15px;line-height:1.45;color:#2c3f51;background-color:none}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#1980e6;text-decoration:none}a:hover,a:focus{color:#0f4d8a;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.45;background-color:none;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:21px;margin-bottom:21px;border:0;border-top:1px solid rgba(102,128,153,0.1)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:300;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:21px;margin-bottom:10.5px}h1 small,h2 small,h3 small,h1 .small,h2 .small,h3 .small{font-size:65%}h4,h5,h6{margin-top:10.5px;margin-bottom:10.5px}h4 small,h5 small,h6 small,h4 .small,h5 .small,h6 .small{font-size:75%}h1,.h1{font-size:39px}h2,.h2{font-size:32px}h3,.h3{font-size:26px}h4,.h4{font-size:19px}h5,.h5{font-size:15px}h6,.h6{font-size:13px}p{margin:0 0 10.5px}.lead{margin-bottom:21px;font-size:17px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:22.5px}}small,.small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-primary:hover{color:#3071a9}.text-warning{color:#b89600}.text-warning:hover{color:#856d00}.text-danger{color:#d82a1a}.text-danger:hover{color:#ab2114}.text-success{color:#3c763d}.text-success:hover{color:#2b542c}.text-info{color:#31708f}.text-info:hover{color:#245269}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.page-header{padding-bottom:9.5px;margin:42px 0 21px;border-bottom:1px solid none}ul,ol{margin-top:0;margin-bottom:10.5px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}.list-inline>li:first-child{padding-left:0}dl{margin-top:0;margin-bottom:21px}dt,dd{line-height:1.45}dt{font-weight:bold}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{content:" ";display:table}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{content:" ";display:table}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10.5px 21px;margin:0 0 21px;border-left:5px solid rgba(102,128,153,0.075)}blockquote p{font-size:18.75px;font-weight:300;line-height:1.25}blockquote p:last-child{margin-bottom:0}blockquote small,blockquote .small{display:block;line-height:1.45;color:#999}blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid rgba(102,128,153,0.075);border-left:0}blockquote.pull-right p,blockquote.pull-right small,blockquote.pull-right .small{text-align:right}blockquote.pull-right small:before,blockquote.pull-right .small:before{content:''}blockquote.pull-right small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:21px;font-style:normal;line-height:1.45}code,kbd,pre,samp{font-family:"Source Code Pro",monospace}code{padding:2px 4px;font-size:90%;color:#2c3f51;background-color:rgba(102,128,153,0.075);white-space:nowrap;border-radius:4px}pre{display:block;padding:10px;margin:0 0 10.5px;font-size:14px;line-height:1.45;word-break:break-all;word-wrap:break-word;color:#333;background-color:rgba(102,128,153,0.05);border:1px solid rgba(102,128,153,0.075);border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.pln{color:#000}.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:#f00}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}@font-face{font-family:'fontello';src:url('../font/fontello.svg?1441718028138#fontello') format('svg'),url('../font/fontello.woff?1441718028138') format('woff');font-weight:normal;font-style:normal}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:300;src:local('Source Sans Pro Light'),local('SourceSansPro-Light'),url("../font/SourceSansPro-Light-webfont.woff") format('woff')}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:400;src:local('Source Sans Pro'),local('SourceSansPro'),url("../font/SourceSansPro-Regular-webfont.woff") format('woff')}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:700;src:local('Source Sans Pro Bold'),local('SourceSansPro-Bold'),url("../font/SourceSansPro-Bold-webfont.woff") format('woff')}@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:300;src:local('Source Sans Pro Light Italic'),local('SourceSansProLight-Italic'),url("../font/SourceSansPro-LightItalic-webfont.woff") format('woff')}@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:400;src:local('Source Sans Pro Italic'),local('SourceSansPro-Italic'),url("../font/SourceSansPro-Italic-webfont.woff") format('woff')}@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:700;src:local('Source Sans Pro Bold Italic'),local('SourceSansPro-BoldItalic'),url("../font/SourceSansPro-BoldItalic-webfont.woff") format('woff')}@font-face{font-family:'Source Code Pro';font-style:normal;font-weight:400;src:local('Source Code Pro'),local('SourceCodePro-Regular'),url("../font/SourceCodePro-Regular-webfont.woff") format('woff')}@font-face{font-family:'Source Code Pro';font-style:normal;font-weight:700;src:local('Source Code Pro Bold'),local('SourceCodePro-Bold'),url("../font/SourceCodePro-Bold-webfont.woff") format('woff')}.container{margin-bottom:180px;text-align:justify}a code{color:inherit}h1{font-size:2.6em}h2{font-size:2.15em}h3{font-size:1.7em}h4{font-size:1.25em}h5{font-size:1em}h6{font-size:.85em}h1,h2,h3,h4,h5,h6{margin:1.8em 0;text-align:start}pre{word-break:break-word}p,pre,pre.prettyprint,blockquote{margin:0 0 1.1em}hr{margin:2em 0}img{max-width:100%}.sequence-diagram,.flow-chart{text-align:center;margin-bottom:1.1em}.sequence-diagram text,.flow-chart text{font-size:15px !important;font-family:"Helvetica Neue",Arial,"Hiragino Sans GB","STHeiti","Microsoft YaHei","WenQuanYi Micro Hei",SimSun,Song,sans-serif !important}.sequence-diagram [stroke="#000000"],.flow-chart [stroke="#000000"]{stroke:#2c3f51}.sequence-diagram text[stroke="#000000"],.flow-chart text[stroke="#000000"]{stroke:none}.sequence-diagram [fill="#000"],.flow-chart [fill="#000"],.sequence-diagram [fill="#000000"],.flow-chart [fill="#000000"],.sequence-diagram [fill="black"],.flow-chart [fill="black"]{fill:#2c3f51}code,pre{font-family:"Source Code Pro",monospace;font-size:.9em}code{white-space:normal}pre,pre.prettyprint{text-align:start;border:0;border-radius:5px}pre code,pre.prettyprint code{padding:18px 28px !important}dt,dd{margin-top:5px;margin-bottom:5px}dd{margin-left:40px}table{margin-bottom:20px}table th,table td{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #ddd}table th{font-weight:bold}table thead th{vertical-align:bottom}table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0}table tbody+tbody{border-top:2px solid #ddd}blockquote{border-left-width:10px;background-color:rgba(102,128,153,0.05);border-top-right-radius:5px;border-bottom-right-radius:5px;padding:15px 20px}blockquote p{margin-bottom:1.1em;font-size:1em;line-height:1.45}blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}ul,ol{margin-bottom:1.1em}ul ul,ol ul,ul ol,ol ol{margin-bottom:1.1em}kbd{padding:.1em .6em;border:1px solid rgba(44,63,81,0.25);-webkit-box-shadow:0 1px 0 rgba(44,63,81,0.25);box-shadow:0 1px 0 rgba(44,63,81,0.25);font-size:.7em;font-family:sans-serif;background-color:#fff;color:#333;border-radius:3px;display:inline-block;margin:0 .1em;white-space:nowrap}.toc ul{list-style-type:none;margin-bottom:15px}.footnote{vertical-align:top;position:relative;top:-0.5em;font-size:.8em}li.checklist-item{list-style:none;margin-left:-1.2em}.checklist{margin-bottom:1.1em}.checklist-item>.checklist{margin-left:1.4em}[class^="icon-"],[class*=" icon-"]{display:inline-block;line-height:1.35em;vertical-align:middle;background-repeat:no-repeat}.icon-code{font-size:83%;line-height:1.65em}.icon-code:before{margin-left:.1em;margin-right:.6em}.icon-trash{line-height:1.5em}.icon-folder-open{font-size:80%}.icon-folder-open:before{margin-right:.6em}.icon-chart-bar{font-size:95%}.icon-chart-bar:before{margin-left:.3em;margin-right:.3em}.icon-comment-alt,.icon-chat{font-size:92%}.icon-comment-alt:before,.icon-chat:before{margin-left:.1em;margin-right:.4em}.icon-file{font-size:104%;margin-left:0;margin-right:0}.icon-link{font-size:104%}[class^="icon-provider-"],[class*=" icon-provider-"]{background-image:url("../img/icons.png");width:18px;height:16px;margin-top:-2px;margin-left:2px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){[class^="icon-provider-"],[class*=" icon-provider-"]{background-image:url("../img/icons2x.png");background-size:256px 16px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){[class^="icon-provider-"],[class*=" icon-provider-"]{background-image:url("../img/icons2x.png");background-size:256px 16px}}.icon-provider-stackedit{background-position:0 0}.icon-provider-gdrive,.icon-provider-gdrivesec,.icon-provider-gdriveter{background-position:-18px 0}.icon-provider-dropbox{background-position:-37px 0}.icon-provider-github,.icon-provider-gist{background-position:-54px 0}.icon-provider-blogger,.icon-provider-bloggerpage{background-position:-72px 0}.icon-provider-tumblr{background-position:-90px 0}.icon-provider-wordpress{background-position:-108px 0}.icon-provider-ssh{background-position:-126px 0}.icon-provider-gplus{background-position:-144px 0}.icon-provider-couchdb{background-position:-162px 0}body.rtl #wmd-input,body.rtl #preview-contents,body.rtl .input-file-title,body.rtl .search-bar input,body.rtl .modal-document-manager input,body.rtl .comments-popover,body.rtl .container{direction:rtl}.MathJax_SVG_Display{text-align:center;margin:1em 0;position:relative;display:block !important;text-indent:0;max-width:none;max-height:none;min-width:0;min-height:0;width:100%}.MathJax_SVG{display:inline;font-style:normal;font-weight:normal;line-height:normal;font-size:100%;font-size-adjust:none;text-indent:0;text-align:left;text-transform:none;letter-spacing:normal;word-spacing:normal;word-wrap:normal;white-space:nowrap;float:none;direction:ltr;max-width:none;max-height:none;min-width:0;min-height:0;border:0;padding:0;margin:0;vertical-align:middle}.hljs-light .hljs{display:block;padding:.5em;background-color:#f0f0f0}.hljs-light .hljs,.hljs-light .hljs-subst,.hljs-light .hljs-tag .hljs-title,.hljs-light .lisp .hljs-title,.hljs-light .clojure .hljs-built_in,.hljs-light .nginx .hljs-title{color:#000}.hljs-light .hljs-string,.hljs-light .hljs-title,.hljs-light .hljs-constant,.hljs-light .hljs-parent,.hljs-light .hljs-tag .hljs-value,.hljs-light .hljs-rules .hljs-value,.hljs-light .hljs-rules .hljs-value .hljs-number,.hljs-light .hljs-preprocessor,.hljs-light .hljs-pragma,.hljs-light .haml .hljs-symbol,.hljs-light .ruby .hljs-symbol,.hljs-light .ruby .hljs-symbol .hljs-string,.hljs-light .hljs-aggregate,.hljs-light .hljs-template_tag,.hljs-light .django .hljs-variable,.hljs-light .smalltalk .hljs-class,.hljs-light .hljs-addition,.hljs-light .hljs-flow,.hljs-light .hljs-stream,.hljs-light .bash .hljs-variable,.hljs-light .apache .hljs-tag,.hljs-light .apache .hljs-cbracket,.hljs-light .tex .hljs-command,.hljs-light .tex .hljs-special,.hljs-light .erlang_repl .hljs-function_or_atom,.hljs-light .asciidoc .hljs-header,.hljs-light .markdown .hljs-header,.hljs-light .coffeescript .hljs-attribute{color:#800}.hljs-light .smartquote,.hljs-light .hljs-comment,.hljs-light .hljs-annotation,.hljs-light .hljs-template_comment,.hljs-light .diff .hljs-header,.hljs-light .hljs-chunk,.hljs-light .asciidoc .hljs-blockquote,.hljs-light .markdown .hljs-blockquote{color:#888}.hljs-light .hljs-number,.hljs-light .hljs-date,.hljs-light .hljs-regexp,.hljs-light .hljs-literal,.hljs-light .hljs-hexcolor,.hljs-light .smalltalk .hljs-symbol,.hljs-light .smalltalk .hljs-char,.hljs-light .go .hljs-constant,.hljs-light .hljs-change,.hljs-light .lasso .hljs-variable,.hljs-light .makefile .hljs-variable,.hljs-light .asciidoc .hljs-bullet,.hljs-light .markdown .hljs-bullet,.hljs-light .asciidoc .hljs-link_url,.hljs-light .markdown .hljs-link_url{color:#080}.hljs-light .hljs-label,.hljs-light .hljs-javadoc,.hljs-light .ruby .hljs-string,.hljs-light .hljs-decorator,.hljs-light .hljs-filter .hljs-argument,.hljs-light .hljs-localvars,.hljs-light .hljs-array,.hljs-light .hljs-attr_selector,.hljs-light .hljs-important,.hljs-light .hljs-pseudo,.hljs-light .hljs-pi,.hljs-light .haml .hljs-bullet,.hljs-light .hljs-doctype,.hljs-light .hljs-deletion,.hljs-light .hljs-envvar,.hljs-light .hljs-shebang,.hljs-light .apache .hljs-sqbracket,.hljs-light .nginx .hljs-built_in,.hljs-light .tex .hljs-formula,.hljs-light .erlang_repl .hljs-reserved,.hljs-light .hljs-prompt,.hljs-light .asciidoc .hljs-link_label,.hljs-light .markdown .hljs-link_label,.hljs-light .vhdl .hljs-attribute,.hljs-light .clojure .hljs-attribute,.hljs-light .asciidoc .hljs-attribute,.hljs-light .lasso .hljs-attribute,.hljs-light .coffeescript .hljs-property,.hljs-light .hljs-phony{color:#88f}.hljs-light .hljs-keyword,.hljs-light .hljs-id,.hljs-light .hljs-title,.hljs-light .hljs-built_in,.hljs-light .hljs-aggregate,.hljs-light .css .hljs-tag,.hljs-light .hljs-javadoctag,.hljs-light .hljs-phpdoc,.hljs-light .hljs-yardoctag,.hljs-light .smalltalk .hljs-class,.hljs-light .hljs-winutils,.hljs-light .bash .hljs-variable,.hljs-light .apache .hljs-tag,.hljs-light .go .hljs-typename,.hljs-light .tex .hljs-command,.hljs-light .asciidoc .hljs-strong,.hljs-light .markdown .hljs-strong,.hljs-light .hljs-request,.hljs-light .hljs-status{font-weight:bold}.hljs-light .asciidoc .hljs-emphasis,.hljs-light .markdown .hljs-emphasis{font-style:italic}.hljs-light .nginx .hljs-built_in{font-weight:normal}.hljs-light .coffeescript .javascript,.hljs-light .javascript .xml,.hljs-light .lasso .markup,.hljs-light .tex .hljs-formula,.hljs-light .xml .javascript,.hljs-light .xml .vbscript,.hljs-light .xml .css,.hljs-light .xml .hljs-cdata{opacity:.5}.hljs-dark{background:#f6f6f6}.hljs-dark .hljs{display:block;padding:.5em;background:#23241f}.hljs-dark .hljs,.hljs-dark .hljs-tag,.hljs-dark .css .hljs-rules,.hljs-dark .css .hljs-value,.hljs-dark .css .hljs-function .hljs-preprocessor,.hljs-dark .hljs-pragma{color:#f8f8f2}.hljs-dark .hljs-strongemphasis,.hljs-dark .hljs-strong,.hljs-dark .hljs-emphasis{color:#a8a8a2}.hljs-dark .hljs-bullet,.hljs-dark .hljs-blockquote,.hljs-dark .hljs-horizontal_rule,.hljs-dark .hljs-number,.hljs-dark .hljs-regexp,.hljs-dark .alias .hljs-keyword,.hljs-dark .hljs-literal,.hljs-dark .hljs-hexcolor{color:#ae81ff}.hljs-dark .hljs-tag .hljs-value,.hljs-dark .hljs-code,.hljs-dark .hljs-title,.hljs-dark .css .hljs-class,.hljs-dark .hljs-class .hljs-title:last-child{color:#a6e22e}.hljs-dark .hljs-link_url{font-size:80%}.hljs-dark .hljs-strong,.hljs-dark .hljs-strongemphasis{font-weight:bold}.hljs-dark .hljs-emphasis,.hljs-dark .hljs-strongemphasis,.hljs-dark .hljs-class .hljs-title:last-child{font-style:italic}.hljs-dark .hljs-keyword,.hljs-dark .hljs-function,.hljs-dark .hljs-change,.hljs-dark .hljs-winutils,.hljs-dark .hljs-flow,.hljs-dark .lisp .hljs-title,.hljs-dark .clojure .hljs-built_in,.hljs-dark .nginx .hljs-title,.hljs-dark .tex .hljs-special,.hljs-dark .hljs-header,.hljs-dark .hljs-attribute,.hljs-dark .hljs-symbol,.hljs-dark .hljs-symbol .hljs-string,.hljs-dark .hljs-tag .hljs-title,.hljs-dark .hljs-value,.hljs-dark .alias .hljs-keyword:first-child,.hljs-dark .css .hljs-tag,.hljs-dark .css .unit,.hljs-dark .css .hljs-important{color:#f92672}.hljs-dark .hljs-function .hljs-keyword,.hljs-dark .hljs-class .hljs-keyword:first-child,.hljs-dark .hljs-constant,.hljs-dark .css .hljs-attribute{color:#66d9ef}.hljs-dark .hljs-variable,.hljs-dark .hljs-params,.hljs-dark .hljs-class .hljs-title{color:#f8f8f2}.hljs-dark .hljs-string,.hljs-dark .css .hljs-id,.hljs-dark .hljs-subst,.hljs-dark .haskell .hljs-type,.hljs-dark .ruby .hljs-class .hljs-parent,.hljs-dark .hljs-built_in,.hljs-dark .sql .hljs-aggregate,.hljs-dark .django .hljs-template_tag,.hljs-dark .django .hljs-variable,.hljs-dark .smalltalk .hljs-class,.hljs-dark .django .hljs-filter .hljs-argument,.hljs-dark .smalltalk .hljs-localvars,.hljs-dark .smalltalk .hljs-array,.hljs-dark .hljs-attr_selector,.hljs-dark .hljs-pseudo,.hljs-dark .hljs-addition,.hljs-dark .hljs-stream,.hljs-dark .hljs-envvar,.hljs-dark .apache .hljs-tag,.hljs-dark .apache .hljs-cbracket,.hljs-dark .tex .hljs-command,.hljs-dark .hljs-prompt,.hljs-dark .hljs-link_label,.hljs-dark .hljs-link_url{color:#e6db74}.hljs-dark .hljs-comment,.hljs-dark .hljs-javadoc,.hljs-dark .java .hljs-annotation,.hljs-dark .python .hljs-decorator,.hljs-dark .hljs-template_comment,.hljs-dark .hljs-pi,.hljs-dark .hljs-doctype,.hljs-dark .hljs-deletion,.hljs-dark .hljs-shebang,.hljs-dark .apache .hljs-sqbracket,.hljs-dark .tex .hljs-formula{color:#75715e}.hljs-dark .coffeescript .javascript,.hljs-dark .javascript .xml,.hljs-dark .tex .hljs-formula,.hljs-dark .xml .javascript,.hljs-dark .xml .vbscript,.hljs-dark .xml .css,.hljs-dark .xml .hljs-cdata,.hljs-dark .xml .php,.hljs-dark .php .xml{opacity:.5}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}h1,h2,h3,h4,h5,h6{font-weight:bold;margin:1.2em 0 .6em 0}blockquote h1,blockquote h2,blockquote h3,blockquote h4,blockquote h5,blockquote h6{font-weight:bold;margin:.6em 0}.note-tags{color:rgba(44,63,81,0.3)}.note-tags code{color:rgba(44,63,81,0.5);background:rgba(102,128,153,0.075);border-radius:0;padding:2px 5px}.note-tags code:empty{display:none}.note-tags .notebook{background:rgba(44,63,81,0.3);color:#fff;margin-right:6px}table th,table td,table thead:first-child tr:first-child th{padding:.5em;border:1px solid #ddd;line-height:1.5}.note-content{line-height:1.5;color:#2c3f51}.note-content div,.note-content dl,.note-content dt,.note-content em,.note-content font,.note-content h3,.note-content h4,.note-content h5,.note-content h6,.note-content hr,.note-content i,.note-content ins,.note-content kbd,.note-content li,.note-content map,.note-content ol,.note-content p,.note-content pre,.note-content q,.note-content s,.note-content samp,.note-content small,.note-content span,.note-content strike,.note-content strong,.note-content sub,.note-content sup,.note-content table,.note-content tbody,.note-content td,.note-content tfoot,.note-content th,.note-content thead,.note-content tr,.note-content tt,.note-content u,.note-content ul{line-height:1.6}.image-broken-replacement{text-align:center;font-style:italic;padding:8px;border-radius:5px;color:rgba(102,128,153,0.6);background-color:rgba(102,128,153,0.075)}th[align='center']{text-align:center}th[align='right']{text-align:right}.alertify,.alertify-show,.alertify-log{-webkit-transition:all 500ms cubic-bezier(.175, .885, .32, 1.275);-moz-transition:all 500ms cubic-bezier(.175, .885, .32, 1.275);-ms-transition:all 500ms cubic-bezier(.175, .885, .32, 1.275);-o-transition:all 500ms cubic-bezier(.175, .885, .32, 1.275);transition:all 500ms cubic-bezier(.175, .885, .32, 1.275)}.alertify-hide{-webkit-transition:all 250ms cubic-bezier(.6, -0.28, .735, .045);-moz-transition:all 250ms cubic-bezier(.6, -0.28, .735, .045);-ms-transition:all 250ms cubic-bezier(.6, -0.28, .735, .045);-o-transition:all 250ms cubic-bezier(.6, -0.28, .735, .045);transition:all 250ms cubic-bezier(.6, -0.28, .735, .045)}.alertify-log-hide{-webkit-transition:all 500ms cubic-bezier(.6, -0.28, .735, .045);-moz-transition:all 500ms cubic-bezier(.6, -0.28, .735, .045);-ms-transition:all 500ms cubic-bezier(.6, -0.28, .735, .045);-o-transition:all 500ms cubic-bezier(.6, -0.28, .735, .045);transition:all 500ms cubic-bezier(.6, -0.28, .735, .045)}.alertify-cover{position:fixed;z-index:99999;top:0;right:0;bottom:0;left:0;background-color:#fff;filter:alpha(opacity=0);opacity:0}.alertify-cover-hidden{display:none}.alertify{position:fixed;z-index:99999;top:50px;left:50%;width:550px;margin-left:-275px;opacity:1}.alertify-hidden{opacity:0;display:none}:root *>.alertify-hidden{display:block;visibility:hidden}.alertify-logs{position:fixed;z-index:5000;bottom:10px;right:10px;width:300px}.alertify-logs-hidden{display:none}.alertify-log{display:block;margin-top:10px;position:relative;right:-300px;opacity:0}.alertify-log-show{right:0;opacity:1}.alertify-log-hide{-webkit-transform:translate(300px, 0);-moz-transform:translate(300px, 0);-ms-transform:translate(300px, 0);-o-transform:translate(300px, 0);transform:translate(300px, 0);opacity:0}.alertify-dialog{padding:25px}.alertify-resetFocus{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.alertify-inner{text-align:center}.alertify-text{margin-bottom:15px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:100%}.alertify-isHidden{display:none}@media only screen and (max-width:680px){.alertify,.alertify-logs{width:90%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.alertify{left:5%;margin:0}}.alertify,.alertify-log{font-family:"Helvetica Neue",Arial,"Hiragino Sans GB","STHeiti","Microsoft YaHei","WenQuanYi Micro Hei",SimSun,Song,sans-serif}.alertify{background:#fff;border:1px solid #dee6ed;border-radius:6px;width:398px;margin-left:-200px;-webkit-background-clip:padding;-moz-background-clip:padding;background-clip:padding-box}.alertify-dialog{padding:0}.alertify-inner{text-align:left}.alertify-message{padding:15px;margin:0}.alertify-text-wrapper{padding:0 15px}.alertify-text{display:block;width:100%;height:42px;padding:6px 12px;font-size:15px;line-height:1.45;color:#2c3f51;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #dee6ed;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025);-webkit-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s}.alertify-text:focus:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6)}.alertify-text:focus:focus{border-color:#dee6ed;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 12px -1px rgba(102, 128, 153, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 12px -1px rgba(102, 128, 153, 0.6)}.alertify-text:focus:focus{border-color:rgba(25,128,230,0.5);outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 12px -1px #1980e6;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 12px -1px #1980e6}.alertify-buttons{padding:14px 15px 15px;background:#f6f7f9;border-top:1px solid #ebf0f4;text-align:right;border-radius:0 0 6px 6px}.alertify-button{margin-left:10px}.alertify-button-cancel,.alertify-button-ok{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:15px;line-height:1.45;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.alertify-button-cancel:focus,.alertify-button-ok:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.alertify-button-cancel:hover,.alertify-button-ok:hover,.alertify-button-cancel:focus,.alertify-button-ok:focus{color:#425e7b;text-decoration:none}.alertify-button-cancel:active,.alertify-button-ok:active,.alertify-button-cancel.active,.alertify-button-ok.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.alertify-button-cancel{color:#425e7b;background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.alertify-button-cancel:hover,.alertify-button-cancel:focus,.alertify-button-cancel:active,.alertify-button-cancel.active,.open .dropdown-toggle.alertify-button-cancel{color:#425e7b;background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.alertify-button-cancel:active,.alertify-button-cancel.active,.open .dropdown-toggle.alertify-button-cancel{background-image:none}.alertify-button-cancel.disabled,.alertify-button-cancel[disabled],fieldset[disabled] .alertify-button-cancel,.alertify-button-cancel.disabled:hover,.alertify-button-cancel[disabled]:hover,fieldset[disabled] .alertify-button-cancel:hover,.alertify-button-cancel.disabled:focus,.alertify-button-cancel[disabled]:focus,fieldset[disabled] .alertify-button-cancel:focus,.alertify-button-cancel.disabled:active,.alertify-button-cancel[disabled]:active,fieldset[disabled] .alertify-button-cancel:active,.alertify-button-cancel.disabled.active,.alertify-button-cancel[disabled].active,fieldset[disabled] .alertify-button-cancel.active{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.alertify-button-cancel .badge{color:rgba(0,0,0,0);background-color:#fff}.alertify-button-ok{color:#425e7b;background-color:#e4ebf1;border-color:rgba(0,128,255,0.05)}.alertify-button-ok:hover,.alertify-button-ok:focus,.alertify-button-ok:active,.alertify-button-ok.active,.open .dropdown-toggle.alertify-button-ok{color:#425e7b;background-color:#cad6e2;border-color:rgba(0,97,194,0.05)}.alertify-button-ok:active,.alertify-button-ok.active,.open .dropdown-toggle.alertify-button-ok{background-image:none}.alertify-button-ok.disabled,.alertify-button-ok[disabled],fieldset[disabled] .alertify-button-ok,.alertify-button-ok.disabled:hover,.alertify-button-ok[disabled]:hover,fieldset[disabled] .alertify-button-ok:hover,.alertify-button-ok.disabled:focus,.alertify-button-ok[disabled]:focus,fieldset[disabled] .alertify-button-ok:focus,.alertify-button-ok.disabled:active,.alertify-button-ok[disabled]:active,fieldset[disabled] .alertify-button-ok:active,.alertify-button-ok.disabled.active,.alertify-button-ok[disabled].active,fieldset[disabled] .alertify-button-ok.active{background-color:#e4ebf1;border-color:rgba(0,128,255,0.05)}.alertify-button-ok .badge{color:#e4ebf1;background-color:#fff}.alertify-log{background:#d9edf7;padding:8px 14px;border-radius:4px;color:#3a8abf;text-shadow:0 1px 0 rgba(255,255,255,0.5);border:1px solid #bce8f1}.alertify-log-error{color:#b94a48;background:#f2dede;border:1px solid #eed3d7}.alertify-log-success{color:#468847;background:#dff0d8;border:1px solid #d6e9c6}.tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000;opacity:.8}.tour-step-backdrop{position:relative;z-index:1031;background:inherit}.tour-step-background{position:absolute;z-index:1030;background:inherit;border-radius:6px}.popover[class*="tour-"]{z-index:1030}.popover[class*="tour-"] .popover-navigation{padding:9px 14px}.popover[class*="tour-"] .popover-navigation *[data-role=end]{float:right}.popover[class*="tour-"] .popover-navigation *[data-role=prev],.popover[class*="tour-"] .popover-navigation *[data-role=next],.popover[class*="tour-"] .popover-navigation *[data-role=end]{cursor:pointer}.popover[class*="tour-"] .popover-navigation *[data-role=prev].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=next].disabled,.popover[class*="tour-"] .popover-navigation *[data-role=end].disabled{cursor:default}.popover[class*="tour-"].orphan{position:fixed;margin-top:0}.popover[class*="tour-"].orphan .arrow{display:none}div.jGrowl{z-index:9999;color:#fff;font-size:12px}div.jGrowl{position:absolute}body>div.jGrowl{position:fixed}div.jGrowl.top-left{left:0;top:0}div.jGrowl.top-right{right:0;top:0}div.jGrowl.bottom-left{left:0;bottom:0}div.jGrowl.bottom-right{right:0;bottom:0}div.jGrowl.center{top:0;width:50%;left:25%}div.center div.jGrowl-notification,div.center div.jGrowl-closer{margin-left:auto;margin-right:auto}div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:#000;zoom:1;width:235px;padding:10px;margin-top:5px;margin-bottom:5px;font-family:Tahoma,Arial,Helvetica,sans-serif;font-size:1em;text-align:left;display:none;-moz-border-radius:5px;-webkit-border-radius:5px}div.jGrowl div.jGrowl-notification{min-height:40px}div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{margin:10px}div.jGrowl div.jGrowl-notification div.jGrowl-header{font-weight:bold;font-size:.85em}div.jGrowl div.jGrowl-notification div.jGrowl-close{z-index:99;float:right;font-weight:bold;font-size:1em;cursor:pointer}div.jGrowl div.jGrowl-closer{padding-top:4px;padding-bottom:4px;cursor:pointer;font-size:.9em;font-weight:bold;text-align:center}@media print{div.jGrowl{display:none}}.animate-spin{-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-o-keyframes spin{0%{-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-ms-keyframes spin{0%{-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-moz-transform:rotate(0deg);-o-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.toast-title{font-weight:bold}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-0.3em;top:-0.3em;float:right;font-size:20px;font-weight:bold;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80)}.toast-close-button:hover,.toast-close-button:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:30px;bottom:10px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999}#toast-container.toast-top-full-width>div,#toast-container.toast-bottom-full-width>div{width:96%;margin:auto}.toast{margin:0 0 6px;padding:8px;padding-left:50px;min-width:200px;box-shadow:none;border-radius:15px}.toast{background-image:none !important}.toast:before{position:fixed;font-family:fontello;font-size:24px;line-height:22px;float:left;padding-right:.5em;margin:auto .5em auto -1.5em}.toast-warning:before{content:"\e858"}.toast-error:before{content:"\e81a"}.toast-info:before{content:"\e828"}.toast-success:before{content:"\e816"}.toast-wait:before{content:"\e879"}.toast{border:2px solid #000;color:#030303;background-color:rgba(120,120,120,0.9)}.toast-success{border:2px solid #499249;color:#51a351;background-color:rgba(234,245,234,0.9)}.toast-error{border:2px solid #a9302a;color:#bd362f;background-color:rgba(247,225,223,0.9)}.toast-info{border:2px solid #2a85a0;color:#2f96b4;background-color:rgba(217,239,245,0.9)}.toast-warning{border:2px solid #b9751d;color:#cf8321;background-color:rgba(250,239,224,0.9)}.toast-wait{border:none;padding:3px 16px;color:#fff;font-size:12px;background:none;margin:0;width:auto;min-width:initial;min-width:auto;position:relative}.toast-wait .toast-message{position:relative}.toast-wait:before{content:'';background:#ed1d70;display:block;position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;-webkit-animation:2s loadingBefore infinite ease-in-out;-ms-animation:2s loadingBefore infinite ease-in-out;-moz-animation:2s loadingBefore infinite ease-in-out}@-webkit-keyframes loadingBefore{0%{-webkit-transform:translateX(-14px)}50%{-webkit-transform:translateX(14px);opacity:.6}100%{-webkit-transform:translateX(-14px)}}@-moz-keyframes loadingBefore{0%{-moz-transform:translateX(-14px)}50%{-moz-transform:translateX(14px);opacity:.6}100%{-moz-transform:translateX(-14px)}}@-ms-keyframes loadingBefore{0%{-ms-transform:translateX(-14px)}50%{-ms-transform:translateX(14px);opacity:.6}100%{-ms-transform:translateX(-14px)}}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container .toast-close-button{right:-0.2em;top:-0.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container .toast-close-button{right:-0.2em;top:-0.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}}body{tab-size:4;text-align:start}*{outline:none !important}.working{cursor:progress}.dragging{cursor:move !important}.btn,.dropdown-menu{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.dropdown-menu,.modal-content,.panel-content,.search-bar,.popover,.find-replace,.alertify{-webkit-box-shadow:0 4px 16px rgba(0,0,0,0.225);box-shadow:0 4px 16px rgba(0,0,0,0.225)}.dropdown-menu>li>a{padding:5px 20px;border-top:1px solid transparent;border-bottom:1px solid transparent}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{border-color:#475160}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{border-color:transparent}.collapsed>.icon-up-dir:before{content:'\e94d'}.modal.fade .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)}.modal-content{background-color:#f6f7f9}.modal-body{background-color:#fff;padding-bottom:30px}.modal-footer{margin-top:0}.modal-iframe{display:block;margin:30px auto 0;z-index:1040;border-radius:0}a{-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s}.nav-pills>li>a{border:1px solid rgba(0,0,0,0)}.nav-pills>li>a:hover,.nav-pills>li>a:focus{color:#036;border-color:#475160}.nav-pills>li.open>a .caret,.nav-pills>li>a:hover .caret,.nav-pills>li>a:focus .caret{border-top-color:#036;border-bottom-color:#036}.nav-pills>li.disabled>a:hover,.nav-pills>li.disabled>a:focus{border-color:rgba(0,0,0,0)}.nav-pills>li.open>a,.nav-pills>li.open>a:hover,.nav-pills>li.open>a:focus{color:#036;border-color:#475160}.list-group-item{padding:10px 15px;border-left-width:0;border-right-width:0;margin-bottom:0}.list-group .list-group-item{border-radius:0}a.list-group-item:hover,a.list-group-item:focus{color:#036;border-color:#475160}.list-group-item .checkbox{float:right;margin:0;padding:0;cursor:pointer}.list-group-item .checkbox input{cursor:pointer;margin:0 16px;height:38px}.form-group{margin-bottom:1px;padding:5px}.text-danger:hover{color:#d82a1a}.bring-to-front{z-index:1050 !important}.dialog-header-message{position:absolute;top:12px;right:55px;font-weight:bold}.btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s}.btn-default:hover,.alertify-button-cancel:hover,.btn-default:focus,.alertify-button-cancel:focus,.btn-default:active,.alertify-button-cancel:active,.open .btn-default.dropdown-toggle,.open .alertify-button-cancel.dropdown-toggle{color:#036;border-color:rgba(0,128,255,0.1);background-color:rgba(102,128,153,0.04) !important}.btn-primary:hover,.alertify-button-ok:hover,.btn-primary:focus,.alertify-button-ok:focus,.btn-primary:active,.alertify-button-ok:active,.open .btn-primary.dropdown-toggle,.open .alertify-button-ok.dropdown-toggle{color:#036;border-color:rgba(0,128,255,0.1);background-color:#dae3eb !important}.btn-success:hover,.btn-success:focus,.btn-success:active,.open .btn-success.dropdown-toggle{color:#036 !important;border-color:rgba(0,128,255,0.1);background-color:rgba(89,128,166,0.05) !important}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.info-tooltip,.info-tooltip .btn-info,.open .btn-info.dropdown-toggle{color:#036;border-color:rgba(0,128,255,0.08);background-color:#f0f2f5 !important}.btn-link:hover{text-decoration:none}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:0}.btn-group>.btn+.dropdown-toggle{padding-right:11px;padding-left:11px}.form-control{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025)}@media (min-width:768px){.form-inline .col-sm-1{width:8.33333333% !important}.form-inline .col-sm-2{width:16.66666667% !important}.form-inline .col-sm-3{width:25% !important}.form-inline .col-sm-4{width:33.33333333% !important}.form-inline .col-sm-5{width:41.66666667% !important}.form-inline .col-sm-6{width:50% !important}.form-inline .col-sm-7{width:58.33333333% !important}.form-inline .col-sm-8{width:66.66666667% !important}.form-inline .col-sm-9{width:75% !important}.form-inline .col-sm-10{width:83.33333333% !important}.form-inline .col-sm-11{width:91.66666667% !important}.form-inline .col-sm-12{width:100% !important}}.form-inline *{float:none}.form-control.error{border-color:#e84c3d;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 8px #e84c3d;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025), 0 0 8px #e84c3d}.help-block{font-size:12px}.input-group-addon{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.025)}a.input-group-addon{color:#1980e6}.input-group-btn .btn i{font-size:110%}.input-group-btn:first-child .btn{margin-right:6px}.input-group-btn:last-child .btn{margin-left:6px}.navbar{position:absolute;top:0;left:0;width:100%;padding:0;border:0;border-top:1px solid rgba(0,128,255,0.1);border-bottom:1px solid rgba(0,128,255,0.1);border-radius:0;z-index:20}.navbar .left-space,.navbar .right-space{width:25px;height:38px}.navbar .nav{float:left;margin:5px 9px;height:38px}.navbar .nav>li{display:inline-block}.navbar .nav.pull-right{float:right}.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}.navbar .nav.pull-right>li>.dropdown-menu .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0}.navbar .btn{height:38px;padding:6px 8px}.navbar .btn-group>.btn.disabled *,.navbar .btn-group>.btn.blocked *,.navbar .btn-group>.btn[disabled] *{color:rgba(54,77,99,0.3)}.navbar .button-open-discussion.some{color:#e0b800 !important}.navbar .button-open-discussion.replied{color:#e74434 !important}.navbar .file-title-navbar{display:inline-block;vertical-align:middle;padding:1px 15px;font-size:1.5em;line-height:1.45em;font-weight:200;overflow:hidden;white-space:nowrap}.navbar .file-title-navbar a i{-webkit-transition:all ease-in-out .15s;transition:all ease-in-out .15s}.navbar .file-title-navbar a .icon-link-ext-alt{color:transparent;position:relative;font-size:12px;top:-12px;right:6px;width:0}.navbar .file-title-navbar a:hover [class^="icon-provider-"],.navbar .file-title-navbar a:hover [class*=" icon-provider-"]{opacity:.5;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);filter:alpha(opacity=50)}.navbar .file-title-navbar a:hover .icon-link-ext-alt{color:#036}.navbar .input-file-title-container{display:inline-block;vertical-align:middle}.navbar .input-file-title-container .input-file-title{width:400px;font-size:16px;height:38px}.navbar .working-indicator{display:inline-block;vertical-align:middle;overflow:hidden;height:38px;width:60px;padding-top:8px}.navbar .working-indicator .bar{display:inline-block;width:14px;height:6px;border-radius:1px;margin:0 2px;opacity:.25;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=25);filter:alpha(opacity=25);background-color:rgba(54,77,99,0.75)}.navbar .offline-status>div{display:inline-block;vertical-align:middle;height:38px;padding:9px 10px}.navbar .buttons-dropdown>.nav{margin-left:0;margin-right:0}.navbar div.dropdown-menu{top:initial;padding:5px;margin:10px}.menu-panel,.document-panel{height:100%;z-index:30;overflow:initial}.menu-panel .toggle-button,.document-panel .toggle-button{background-color:#fff;height:38px;border-radius:8px;position:absolute;margin-top:6px;-webkit-transition:border-width ease-in-out .15s, left ease-in-out 0.15s, right ease-in-out 0.15s, background-color ease-in-out 0.15s;transition:border-width ease-in-out .15s, left ease-in-out 0.15s, right ease-in-out 0.15s, background-color ease-in-out 0.15s;-webkit-box-shadow:0 0 1px rgba(0,0,0,.5);box-shadow:0 0 1px rgba(0,0,0,.5)}.menu-panel .toggle-button:active,.document-panel .toggle-button:active{-webkit-box-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 1px rgba(0,0,0,.5);box-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 1px rgba(0,0,0,.5)}.menu-panel .toggle-button i,.document-panel .toggle-button i{color:#737373;font-size:14px}.menu-panel .toggle-button:hover,.document-panel .toggle-button:hover,.menu-panel.panel-open>.toggle-button,.document-panel.panel-open>.toggle-button{border-width:1px}.menu-panel .panel-content,.document-panel .panel-content{overflow:auto;padding-bottom:30px;height:100%}.menu-panel .panel-content a>i,.document-panel .panel-content a>i{color:inherit}.menu-panel{position:absolute;top:0;right:0;width:320px}.menu-panel i{margin-right:8px}.menu-panel small{color:rgba(129,158,187,0.6);padding-left:30px}.menu-panel .nav{margin:10px 0 20px}.menu-panel .nav>li>a:hover,.menu-panel .nav>li>a:focus{background-color:rgba(0,0,0,0)}.menu-panel .alert{padding:10px;margin-left:-10px;margin-right:-10px}.menu-panel .toggle-button{border-top:4px solid rgba(255,230,0,0.9);border-right:5px solid rgba(117,183,253,0.9);border-bottom:4px solid rgba(255,138,0,0.9);right:-37px;z-index:-1;padding:0 10px 0 50px}.menu-panel .toggle-button:hover,.menu-panel.panel-open>.toggle-button{right:-45px}.menu-panel .panel-content{background-color:#f6f7f9;padding-top:6px;border-right:1px solid #ebf0f4}.document-panel{position:absolute;top:0;left:0;width:380px}.document-panel .toggle-button{border-top:4px solid rgba(255,230,0,0.9);border-left:5px solid rgba(187,213,0,0.9);border-bottom:4px solid rgba(255,138,0,0.9);left:-37px;padding:0 50px 0 3px;z-index:-1}.document-panel .toggle-button i.icon-folder-open{font-size:19px;padding-bottom:1px}.document-panel .toggle-button:hover,.document-panel.panel-open>.toggle-button{left:-45px}.document-panel .panel-content{background-color:#f6f7f9;padding-top:210px;border-left:1px solid #ebf0f4}.viewer .document-panel .panel-content{padding-top:75px}.document-panel .panel-content .icon-layers{font-size:135%}.document-panel .search-bar{position:absolute;background-color:#475160;margin:-10px 25px 0;padding:15px 20px;z-index:3;border:1px solid #dee6ed;border-radius:6px}.document-panel .search-bar .nav{margin-bottom:10px}.document-panel .search-bar .nav>li>a{padding:8px 15px}.document-panel .search-bar .nav>li>a:hover,.document-panel .search-bar .nav>li>a:focus{background-color:rgba(0,0,0,0)}.document-panel .list-group-item{margin:0}.document-panel .folder{font-weight:bold;color:#425e7b;border-top-color:#f2f5f8}.document-panel .list-group{margin:0}.document-panel .list-group .nav{border:0;margin:0}.document-panel .list-group .nav .file{padding-left:30px;padding-right:30px}.dropdown-file-selector{top:6px;right:45px;left:auto;margin:0;min-width:280px;max-width:400px;overflow-x:hidden;max-height:400px;overflow-y:auto}.modal-document-manager{margin-bottom:0}.modal-document-manager .nav-pills{margin-bottom:15px}.modal-document-manager .list-group .nav{margin-bottom:30px;border:0;margin:0}.modal-document-manager .list-group .nav .file{padding-left:20px}.modal-document-manager .file-list .list-group-item{background-color:rgba(0,0,0,0);padding:0 3px}.modal-document-manager .input-rename{width:220px;height:38px}.modal .list-group .list-group-item{border-radius:4px}.modal .list-group-item{padding:3px;margin:0;border-left-width:1px;border-right-width:1px}.modal .list-group-item i{margin-right:3px}.modal .list-group-item .btn{float:right;margin-right:3px}.modal .list-group-item .btn i{margin:0;font-size:105%}.modal .list-group-item .btn i.icon-pencil{font-size:115%}.modal .folder,.modal .document{font-weight:bold;color:#425e7b;font-size:15px;background-color:rgba(0,0,0,0)}.modal .name,.modal .date,.modal .file-count{padding:9px 20px 9px 15px}.modal .name i.icon-file,.modal .name i.icon-folder{margin-right:8px;font-size:20px;line-height:15px;margin-top:-2px}.modal .date{font-weight:normal}.extension-buttons>.btn-group>.btn,.extension-preview-buttons>.btn-group>.btn,.extension-buttons>.btn-group>.btn,.extension-preview-buttons>.btn-group>.btn{border-radius:0}.extension-buttons>.btn-group:first-child>.btn,.extension-preview-buttons>.btn-group:first-child>.btn,.extension-buttons>.btn-group:first-child>.btn,.extension-preview-buttons>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.extension-buttons>.btn-group:last-child>.btn,.extension-preview-buttons>.btn-group:last-child>.btn,.extension-buttons>.btn-group:last-child>.btn,.extension-preview-buttons>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.extension-preview-buttons{position:absolute;right:0;bottom:0;z-index:40;background-color:#e4ebf1;border:1px solid #cfdae5;border-radius:4px;cursor:move}.extension-preview-buttons.animate{-webkit-transition:350ms ease-in-out all;transition:350ms ease-in-out all}.extension-preview-buttons .btn-group .btn{position:initial;border:0}.extension-preview-buttons .dropdown-menu{margin-top:6px;margin-bottom:6px;padding-bottom:20px}.extension-preview-buttons hr{margin:0}.extension-preview-buttons .markdown-syntax,.extension-preview-buttons .table-of-contents{overflow-y:auto;overflow-x:hidden;padding-right:20px;margin-right:-20px;width:330px}.extension-preview-buttons .markdown-syntax{white-space:normal}.extension-preview-buttons .table-of-contents{padding:20px 0 15px;margin-left:-10px}.extension-preview-buttons .table-of-contents ul{margin-left:10px;padding-left:10px}.extension-preview-buttons .stat-button .value{vertical-align:text-top}.extension-preview-buttons .drag-me{color:#364d63}.extension-preview-buttons .drag-me i:before{width:5px}.modal-settings .modal-header{padding-bottom:0}.modal-settings textarea{max-width:100%;min-height:100px}.modal-settings .panel{border:0;border-radius:inherit;background:#fff;border-bottom:1px solid #f2f5f8;-webkit-box-shadow:none;box-shadow:none}.modal-settings .accordion-heading{padding:12px 15px}.modal-settings .accordion-heading .checkbox{margin-top:0;margin-bottom:0}.modal-settings .accordion-inner{border:0;padding:10px 40px 20px}.modal-settings .accordion-inner .form-horizontal .control-label{text-align:left}.modal-settings .accordion-inner .form-horizontal .form-inline .label-text{margin-left:15px}.modal-settings .tab-pane-button-container{width:220px;margin:10px auto 20px}.modal-settings .tab-pane-button-container .btn{text-align:start;padding-left:15px}.modal-settings .nav-tabs{margin:15px 0 0}.modal-settings .nav-tabs>li>a:hover,.modal-settings .nav-tabs>li>a:focus{color:#036;border-color:rgba(0,128,255,0.1);background-color:rgba(102,128,153,0.04);border-bottom-color:rgba(0,0,0,0)}.modal-settings .nav-tabs>li.active>a,.modal-settings .nav-tabs>li.active>a:hover,.modal-settings .nav-tabs>li.active>a:focus{color:#2c3f51;background-color:#fff;border-color:#ebf0f4;border-bottom-color:rgba(0,0,0,0);margin-bottom:-1px;padding:10px 15px 11px}.modal-manage-sync .sync-list,.modal-manage-publish .publish-list,.modal-manage-sharing .share-editor-list,.modal-manage-sharing .share-viewer-list{margin-bottom:20px}.modal-manage-sync .sync-list .entry,.modal-manage-publish .publish-list .entry,.modal-manage-sharing .share-editor-list .entry,.modal-manage-sharing .share-viewer-list .entry{margin-bottom:10px}.publish-custom-template-collapse{margin-bottom:0}.publish-custom-template-collapse textarea{max-width:100%;min-height:100px}.layout-wrapper-l1,.layout-wrapper-l2,.layout-wrapper-l3{position:absolute;top:0;left:0;overflow:hidden}.layout-animate{-webkit-transition:-webkit-transform 350ms ease-in-out;-moz-transition:-moz-transform 350ms ease-in-out;-o-transition:-o-transform 350ms ease-in-out;transition:transform 350ms ease-in-out}.layout-resizer{position:absolute;top:0;left:0;width:32px;height:32px}.layout-resizer.open{cursor:e-resize}.layout-vertical .layout-resizer.open{cursor:s-resize}.layout-toggler{position:absolute;top:0;left:0;padding:0;margin:0;width:32px;height:32px}.layout-toggler i{font-size:22px}.layout-toggler.layout-toggler-preview{line-height:55px}.layout-animate .layout-toggler.layout-toggler-preview{-webkit-transition:-webkit-transform 350ms ease-in-out;-moz-transition:-moz-transform 350ms ease-in-out;-o-transition:-o-transform 350ms ease-in-out;transition:transform 350ms ease-in-out}.layout-toggler.layout-toggler-preview i:before{content:'\e87d'}.layout-toggler.layout-toggler-preview.open>i:before{content:'\e87e'}.layout-vertical .layout-toggler.layout-toggler-preview{line-height:1.45}.layout-vertical .layout-toggler.layout-toggler-preview i:before{content:'\e87f'}.layout-vertical .layout-toggler.layout-toggler-preview.open>i:before{content:'\e880'}.layout-toggler.layout-toggler-navbar{line-height:0}.layout-toggler.layout-toggler-navbar i{font-size:16px;height:12px;overflow:hidden}@font-face{font-family:'PT Sans';font-style:normal;font-weight:400;src:local('PT Sans'),local('PTSans'),url("../font/PTSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;src:local('PT Sans Bold'),local('PTSans-Bold'),url("../font/PTSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:400;src:local('PT Sans Italic'),local('PTSans-Italic'),url("../font/PTSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:700;src:local('PT Sans Bold Italic'),local('PTSans-BoldItalic'),url("../font/PTSans-BoldItalic-webfont.woff") format('woff')}#wmd-input{position:absolute;top:0;left:0;font-family:"PT Sans",sans-serif;line-height:1.65;letter-spacing:normal;border-radius:0;-webkit-box-shadow:none;box-shadow:none;resize:none;border:none;padding:0;overflow:auto;white-space:pre-wrap;word-wrap:break-word;word-break:normal}#wmd-input>.editor-content{padding-bottom:230px}#wmd-input>.editor-margin{position:absolute;top:0;left:0}#wmd-input>.editor-margin .discussion{font-size:17px;position:absolute;cursor:pointer}#wmd-input>.editor-margin .discussion.new{display:none}#wmd-input>.editor-margin .discussion.new:hover,#wmd-input>.editor-margin .discussion.new.active,#wmd-input>.editor-margin .discussion.new.active:hover{display:inline-block;color:rgba(102,128,153,0.35) !important}#wmd-input>.editor-margin .discussion.added{color:rgba(235,192,0,0.7)}#wmd-input>.editor-margin .discussion.added:hover,#wmd-input>.editor-margin .discussion.added.active,#wmd-input>.editor-margin .discussion.added.active:hover{color:#ebc000 !important}#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:rgba(230,59,43,0.8) !important}#wmd-input>.editor-margin .discussion.icon-split{font-size:22px}#wmd-input>.editor-margin .discussion.icon-split:before{margin-right:0}#wmd-input>.editor-margin .discussion:hover,#wmd-input>.editor-margin .discussion.active{text-decoration:none}#wmd-input.has-selection>.editor-margin .discussion.new{display:inline-block;color:rgba(102,128,153,0.25)}#wmd-input.font-monospaced *{font-family:"Source Code Pro",monospace !important;line-height:1.65 !important;font-size:1em !important}#wmd-input.ace_editor{font-family:"Source Code Pro",monospace !important}#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.5)}#wmd-input .find-replace-select{background-color:#b5d5ff}#wmd-input .conflict{font-weight:bold;color:#e63b2b}#wmd-input .ace_print-margin{margin-left:-20px;background:none !important}.editor .md,.editor .hr{color:rgba(102,128,153,0.6);font-style:normal;font-weight:normal}.editor .code,.editor .pre{color:#29333d;font:normal .9em "Source Code Pro",monospace}.editor .tag{color:#29333d;font:bold .9em "Source Code Pro",monospace}.editor .tag .punctuation,.editor .tag .attr-value,.editor .tag .attr-name{font-weight:normal}.editor .latex,.editor .math{color:#668099}.editor .entity{font:italic .9em "Source Code Pro",monospace;color:#668099}.editor .table{font:normal .9em "Source Code Pro",monospace}.editor .table *{font-size:1em}.editor .comment{font-size:.9em;color:rgba(102,128,153,0.6)}.editor .keyword{color:#47596b;font-weight:bold}.editor .code,.editor .img,.editor .imgref,.editor .md-toc{background-color:rgba(102,128,153,0.075);border-radius:4px;padding:.15em 0}.editor .md-toc{font-size:2.5em;padding:.2em}.editor .md-underlined-text{color:inherit}.editor .blockquote{color:#668099}.editor .h1,.editor .h2,.editor .h3,.editor .h4,.editor .h5,.editor .h6{font-weight:600}.editor .h1 .md-hash,.editor .h2 .md-hash,.editor .h3 .md-hash,.editor .h4 .md-hash,.editor .h5 .md-hash,.editor .h6 .md-hash{color:rgba(102,128,153,0.4)}.editor .h1,.editor .h11{font-size:1.7em}.editor .h2,.editor .h22{font-size:1.4em}.editor .h3{font-size:1.2em}.editor .h4{font-size:1.1em}.editor .h5{font-size:1em}.editor .h6{font-size:.9em}.editor .em,.editor .em .md{font-style:italic}.editor .strong,.editor .strong .md{font-weight:bold}.editor .md-strike-text{text-decoration:line-through}.editor .url,.editor .email,.editor .md-underlined-text{text-decoration:underline}.editor .linkdef .url{color:rgba(102,128,153,0.6)}.editor .img,.editor .imgref{padding:.2em .4em;padding-right:0}.editor .md-bang,.editor .md-alt,.editor .md-title{color:#587ea4}.editor .md-checkbox{display:inline-block;font-size:0}.editor .md-checkbox:before{content:"\2610";font-size:26px;vertical-align:-1px;line-height:0;cursor:pointer}.editor .md-checkbox.checked:before{content:"\2611"}.editor .md-checkbox.checked+.md-checkbox-content{text-decoration:line-through}.ace_dark .md,.ace_dark .hr{color:rgba(139,158,177,0.8)}.ace_dark .code,.ace_dark .img,.ace_dark .imgref,.ace_dark .md-toc{background-color:rgba(0,0,0,0.33)}.ace_dark .tag{color:#868686}.ace_dark .code,.ace_dark .pre{color:#868686}.find-replace{position:absolute;bottom:0;width:410px;background-color:#f6f7f9;padding:15px 20px;border-top:1px solid #dee6ed;border-right:1px solid #dee6ed;border-top-right-radius:6px}.find-replace .form-group{width:180px;padding:0 5px}.find-replace .close{position:absolute;right:20px;top:10px}.preview-panel{position:absolute;top:0;left:0;overflow:hidden;-webkit-box-shadow:inset 1px 0 rgba(0,128,255,0.06);box-shadow:inset 1px 0 rgba(0,128,255,0.06);z-index:9}.layout-animate .preview-panel{-webkit-transition:350ms ease-in-out all;transition:350ms ease-in-out all}.layout-vertical .preview-panel{-webkit-box-shadow:inset 0 1px rgba(0,128,255,0.06);box-shadow:inset 0 1px rgba(0,128,255,0.06)}.preview-container{position:absolute;overflow:auto}.wmd-prompt-background{display:none}div.dropdown-menu{padding:5px 20px;background-color:#475160}div.dropdown-menu p,div.dropdown-menu blockquote{margin:10px 0}div.dropdown-menu .stat{margin:20px 0 10px}div.dropdown-menu i{margin-right:0}div.dropdown-menu textarea{width:250px;height:150px;resize:none}div.dropdown-menu a:hover,div.dropdown-menu a:focus{color:#0f4d8a}div.dropdown-menu h1,div.dropdown-menu h2,div.dropdown-menu h3{margin:1em 0}.title-icon-category{display:inline-block;opacity:.15;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=15);filter:alpha(opacity=15);margin-top:-2px;margin-left:-2px;margin-right:3px;font-size:1em;vertical-align:top}.file-title-navbar .title-icon-category{font-size:16px}.picker-dialog{z-index:1050 !important}.picker-dialog-bg{z-index:1040 !important}.tooltip-inner{text-align:left}.tooltip li{line-height:1.4}input[type="file"]{line-height:inherit;height:inherit;border:none !important}.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}.label.comment{white-space:inherit}.sharing-tweet{float:left;margin:5px 10px 0 0}.popover{max-width:350px;padding:15px}.popover .popover-title{font-weight:300;font-size:24px;padding:10px 15px}.popover .disabled{display:none}.popover iframe{position:absolute}.comments-popover .popover{max-width:230px;padding:10px 20px 0}.comments-popover .popover .popover-title{padding:5px 0 15px;border-bottom:1px solid rgba(102,128,153,0.1);line-height:1.1;overflow:hidden}.comments-popover .popover .popover-title .action-remove-discussion{font-size:16px;line-height:22px}.comments-popover .popover .popover-content{margin:0;padding:0}.comments-popover .popover .popover-content .scrollport{overflow:auto;max-height:230px;padding:10px 20px 0;margin:0 -20px}.comments-popover .popover .popover-content .btn{padding:6px 11px}.comments-popover .popover .popover-content .comment-block{margin-bottom:5px}.comments-popover .popover .popover-content .form-group,.comments-popover .popover .popover-content blockquote{margin-bottom:10px;padding:0}.comments-popover .popover .popover-content .comment-author{font-weight:bold;color:#2c3f51}.comments-popover .popover .popover-content .icon-comment{font-size:15px;color:rgba(235,192,0,0.6)}.comments-popover .popover .popover-content .reply .icon-comment{color:rgba(230,59,43,0.7)}.comments-popover .popover .popover-content .new-comment-block .icon-comment{color:rgba(102,128,153,0.35)}.comments-popover .popover .popover-content .input-comment-author{border:none;background:none;-webkit-box-shadow:none;box-shadow:none;font-weight:bold;height:28px;padding:0 0 5px;width:140px;display:inline-block}.comments-popover .popover .popover-content hr{margin:0 0 10px}.comments-popover .popover.top .arrow,.comments-popover .popover.bottom .arrow{margin-right:1px;border-right-width:0}.comments-popover .popover.top .arrow:after,.comments-popover .popover.bottom .arrow:after{margin-left:-11px;border-right-width:0}.comments-popover .popover.top .arrow:after{bottom:2px}.comments-popover .popover.bottom .arrow:after{top:2px}div.jGrowl{z-index:1040;font-size:14px}div.jGrowl.bottom-right{right:35px}div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(115,128,140,0.9);width:240px;margin:6px 0;padding:10px 12px;-ms-filter:none;filter:none;border-radius:4px;font-family:"Helvetica Neue",Arial,"Hiragino Sans GB","STHeiti","Microsoft YaHei","WenQuanYi Micro Hei",SimSun,Song,sans-serif}div.jGrowl div.jGrowl-notification{min-height:65px}.viewer .document-panel .search-bar{padding:20px 20px 10px}.viewer .document-panel .search-bar .input-group-btn{display:none}.viewer .navbar .file-title-navbar{cursor:initial;-webkit-box-shadow:none;box-shadow:none}@media print{html,body{background:transparent !important;overflow:visible !important}.layout-wrapper-l1>*,.layout-wrapper-l2>*,.layout-wrapper-l3>*,.preview-panel>*,#titlebar,#ime-focus-saver{display:none !important}.layout-wrapper-l2:before{visibility:hidden}.layout-wrapper-l1,.layout-wrapper-l2,.layout-wrapper-l3,.preview-panel,.preview-container{background:transparent !important;display:block !important;position:static !important;overflow:visible !important;width:auto !important;height:auto !important;-webkit-transform:translate(0, 0) !important;-ms-transform:translate(0, 0) !important;transform:translate(0, 0) !important;-webkit-box-shadow:none !important;box-shadow:none !important}#preview-contents{padding:0 50px !important}#images_area{display:none}#toast-container{display:none}thead{display:table-header-group}tr,img,svg,pre,blockquote,p{page-break-inside:avoid}img{max-width:100% !important}h2,h3{page-break-after:avoid}select{background:#fff !important}}.layout-toggler{display:none}.editor-navbar{-webkit-transition:none;transition:none;position:absolute;z-index:10;right:50%;background:none !important;margin-top:6px;margin-right:20px}.editor-navbar .editor-navbar-bg{width:100%;height:100%;position:absolute;left:0;top:0;opacity:.8;pointer-events:none;border-radius:4px}.editor-navbar .btn{color:inherit;opacity:.5}.editor-navbar .btn:hover{opacity:.9}.editor-navbar .btn:active,.editor-navbar .btn:focus{color:inherit !important}.editor-navbar .btn-success:hover,.editor-navbar .btn-success:focus,.editor-navbar .btn-success:active,.editor-navbar .btn-success.active,.editor-navbar .open .dropdown-toggle.btn-success{color:inherit !important}.preview-buttons-container .btn{color:rgba(102,128,153,0.35)}.preview-buttons-container .btn:hover,.preview-buttons-container .btn:active,.preview-buttons-container .btn:focus{color:#036}.preview-buttons-container .btn,.editor-navbar-buttons .btn{font-size:16px}.editor-navbar-buttons>.btn-group{display:inline-block}.wmd-buttons-group{display:inline-block}.wmd-buttons-group .wmd-button-group1{opacity:0;-webkit-transition:all ease-in-out .2s;transition:all ease-in-out .2s;-webkit-transition-delay:.6s;transition-delay:.6s}.wmd-buttons-group .wmd-button-group1 li{display:none}.wmd-buttons-group:hover .wmd-button-group1{opacity:1;visibility:visible}.wmd-buttons-group:hover .wmd-button-group1 li{display:block}.shrink-editor-btn{display:none}.file-status-lock{display:none}.resize-editor-btn{position:fixed;right:50%;bottom:10px;margin-right:20px}.open-folder-btn{background:none;border:2px solid;border-radius:0 10px 10px 0;padding:1px 4px;left:-5px;top:6px;position:absolute;border-color:inherit;border-color:currentColor;opacity:.5;z-index:10;color:inherit}.open-folder-btn:hover{color:inherit;opacity:.9}.profile-btn{top:10px;background:none;box-shadow:none;padding:3px;border:2px solid rgba(102,128,153,0.35);border-radius:40px;border-color:currentColor;margin-left:10px}.profile-btn:hover{border-color:currentColor}.preview-buttons-container{position:absolute;z-index:100;margin-top:6px;right:20px}.ui-layout-resizer-south-closed .preview-buttons-container{display:none !important}.preview-buttons-container .btn-group .btn{position:initial}.preview-buttons-container .dropdown-menu{padding-bottom:20px}.preview-buttons-container .markdown-syntax,.preview-buttons-container .table-of-contents{overflow-y:auto;overflow-x:hidden;padding-right:20px;margin-right:-20px;width:330px}.preview-buttons-container .markdown-syntax{white-space:normal;max-height:350px}.preview-buttons-container .table-of-contents{margin-left:-10px;max-height:400px}.preview-buttons-container .table-of-contents ul{margin-left:10px;padding-left:10px}#theme-list{max-height:500px;overflow-x:hidden;overflow-y:scroll}.editor-hosted-buttons{display:inline-block}#app_wrap.no-preview .preview-buttons{display:inline-block}.preview-buttons{padding-right:10px}.full-editor-btn.open .icon-resize-full{display:inline-block}.full-editor-btn.open .icon-resize-small-1{display:none}.full-editor-btn .icon-resize-full{display:none}.full-editor-btn .icon-resize-small-1{display:inline-block}#app_wrap.no-preview .editor-navbar{-webkit-transition:all ease-in-out .2s;transition:all ease-in-out .2s;right:20px;margin-right:0}.dropdown-menu{background-color:#546072;border-color:#3e4755}.dropdown-menu>li>a{color:#eee;padding:5px 20px;border-top:1px solid transparent;border-bottom:1px solid transparent}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#eee;background-color:#4b5666;border-color:#475160}.dropdown-menu>li>a.selected{background:#74b936 !important;color:#fff !important}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{border-color:transparent}.menu-panel .panel-content,.document-panel .panel-content{background-color:#546072}.modal-content,.panel-content{-webkit-box-shadow:0 1px 4px 2px rgba(0,0,0,0.3);box-shadow:0 1px 4px 2px rgba(0,0,0,0.3)}.document-panel .panel-content{border-left:none}.menu-panel .panel-content{border-right:none}.list-group .nav{border-left:10px solid #e4ebf1;margin-left:15px}.list-group .nav>li>a{border-top:1px solid rgba(0,0,0,0);border-bottom:1px solid rgba(0,0,0,0)}.list-group .nav>li>a:hover,.list-group .nav>li>a:focus{border-top-color:#475160;border-bottom-color:#475160}.list-group .nav>li>a.active{border-top-color:rgba(0,128,255,0.05);border-bottom-color:rgba(0,128,255,0.05)}.list-group .nav>li:focus{outline:none}.list-group .nav>li.active>a{background:#4b5666;border-top-color:rgba(0,128,255,0.05);border-bottom-color:rgba(0,128,255,0.05)}.nav-pills>li>a{border:1px solid rgba(0,0,0,0)}.nav-pills>li>a:hover,.nav-pills>li>a:focus{border-color:#475160}.nav-pills>li.disabled>a:hover,.nav-pills>li.disabled>a:focus{border-color:rgba(0,0,0,0)}.nav-pills>li.open>a,.nav-pills>li.open>a:hover,.nav-pills>li.open>a:focus{border-color:#475160}.list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0;background:#546072}.list-group-item:hover{border-top-color:#475160;border-bottom-color:#475160;background:#4b5666 !important}.list-group-item:focus,.active>.list-group-item{border-top-color:#475160;border-bottom-color:#475160;background:#3a424f !important}a.list-group-item{-webkit-transition:none;transition:none}a.list-group-item:hover,a.list-group-item:focus{color:#eee}.username{padding:10px 20px;background:#454f5d;color:#fff;margin-top:-6px}.vip-status{float:right;background:#74b936;color:#fff;border-radius:20px;padding:2px;-webkit-transition:all ease-in-out 0.35s;transition:all ease-in-out 0.35s;cursor:pointer}.vip-status .renew{padding:0 6px;display:none}.vip-status:hover .renew{display:inline}.vip-status.expired{background:#ccc}.vip-status .icon{margin-right:0}.menu-panel i{margin-right:2px}.menu-panel .sub-menu,.document-panel .sub-menu{background:#4b5666;box-shadow:#000 0 0 7px -4px inset}.menu-panel .sub-menu a,.document-panel .sub-menu a{color:#eee}.menu-panel .sub-menu .nav,.document-panel .sub-menu .nav{margin-left:0;border-left:none;margin:0}.menu-panel .sub-menu .nav li:hover,.document-panel .sub-menu .nav li:hover{background:#454f5d}.document-panel.panel-open{width:385px}.document-panel .panel-content{background-color:#546072;padding-top:60px}.document-panel .panel-content .icon-layers{font-size:135%}.document-panel .search-bar{position:absolute;background-color:#475160;margin:-10px 25px 0;padding:20px 5px 10px 15px;z-index:3;border:1px solid #3e4755;border-top:0;border-radius:6px;width:100%;margin:0;border-radius:0;box-shadow:none;padding:10px 10px}.document-panel .search-bar .input-group-addon{color:#eee;background-color:#546072;border-color:#3e4755;border-left:1px solid #3e4755}.document-panel .search-bar input[type='text']{border-color:#3e4755}.document-panel .dropdown-header{padding-top:10px}#search-and-sync input{width:calc(100% - 30px)}#search-and-sync .input-group-addon,#search-and-sync input{border-radius:4px;border-bottom-right-radius:4px;border-top-right-radius:4px;border-bottom-left-radius:4px;border-top-left-radius:4px}.file-action{float:right;display:none}.file-action i{padding-top:2px}.folder-wrapper .icon-folder-open-empty{display:none}.folder-wrapper.active .icon-folder-open-empty{display:inline-block}.folder-wrapper.active .icon-folder-empty{display:none}.folder-wrapper.active a.collapsed .icon-folder-open-empty{display:none}.folder-wrapper.active a.collapsed .icon-folder-empty{display:inline-block}.folder-wrapper .file-notebook{display:none !important}.folder-wrapper.active>.list-group-item{border-top-color:#3a424f;border-bottom-color:#3a424f}.folder-wrapper>.list-group-item .shared-icon{float:right}.file-item:hover .file-action,li.active>.file-item .file-action{display:block}.file-item:hover .file-notebook,li.active>.file-item .file-notebook{display:none}.file-item .file-notebook{float:right;opacity:.8}.file-item .file-notebook .label{display:inline-block;max-width:130px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.file-item .file-notebook .icon-star-empty{color:rgba(255,255,255,0.66)}.file-item .file-notebook .label{padding:.4em .6em}.file-item.synced{color:#bbb}.file-status-label{color:#aaa}.archive-splitter:last-child{display:none}.document-list{height:100%;overflow:auto;position:relative}.document-list .sub-menu .file-item{background:none}.document-list .sub-menu .file-item:hover,.document-list .sub-menu .file-item:focus{background:none !important}.document-list ul>li.active .file-item,.document-list .file-wrapper.active .file-item{background:#74b936 !important;color:#fff}.document-list ul>li.active .file-status-label,.document-list .file-wrapper.active .file-status-label{color:#fff}.document-list ul>li.active .label-success,.document-list .file-wrapper.active .label-success{background:#2a4313}.folder-top{position:absolute;display:none;z-index:10000;width:100%}.footer-left-btn{float:left;position:relative}.extension-preview-buttons{background-color:#546072;border-color:#3e4755}.extension-preview-buttons .drag-me{color:#eee}.extension-preview-buttons .btn-success{color:#eee}.extension-preview-buttons .btn-success:hover,.extension-preview-buttons .btn-success:active{color:#eee !important;background-color:#454f5d !important}.extension-preview-buttons .open .btn-success{color:#eee !important;background-color:#454f5d !important}.extension-preview-buttons .dropdown-menu{background-color:#fff;border-color:#dee6ed}.extension-preview-buttons.closed{opacity:.25;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=25);filter:alpha(opacity=25)}.extension-preview-buttons.closed.info-tooltip-container{opacity:1;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);filter:alpha(opacity=100)}.atwho-view-ul{max-height:300px;overflow:scroll;position:relative}.atwho-view-ul li[shared="1"]:before{content:'\e954';margin-right:.4em;margin-left:0}#app_wrap.readonly .editor-navbar-buttons,#app_wrap.readonly .save-file{display:none}#app_wrap.readonly .file-status-lock{display:inline-block}.markdown-syntax pre{margin:0;background:none;font-size:12px}.markdown-syntax table td{border:2px solid #fff}.markdown-syntax table tr td:first-child{background:#91b82d;color:#fff;font-weight:bold}.markdown-syntax table tr td{background:#eee}.markdown-syntax table tr td i{font-size:12px;color:#aaa;font-style:initial}.markdown-syntax table tr td:last-child{background:#fff}.markdown-syntax kbd{padding:.1em .6em;border:1px solid #ccc;font-size:11px;background-color:#f7f7f7;color:#333;-moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;border-radius:3px;display:inline-block;margin:0 .2em;text-shadow:0 1px 0 #fff;line-height:1.4;white-space:nowrap}.modal-help .modal-dialog{width:870px}.modal-help .modal-dialog .markdown-table{float:left}.modal-help .modal-dialog .key-table{float:right}.modal-changelog .modal-dialog .modal-body{text-align:left}#toggle-preview{display:none}.full-preview{overflow-x:hidden;overflow-y:scroll;padding:0;background:#fff}.full-preview .layout-wrapper-l3{overflow-x:hidden;overflow-y:scroll}.full-preview #wmd-input,.full-preview #ace-input,.full-preview .extension-preview-buttons,.full-preview .editor-navbar,.full-preview .modal-backdrop,.full-preview .preview-buttons,.full-preview .open-folder-btn{display:none}.full-preview .preview-container{width:auto !important;position:relative;height:auto !important;overflow-y:hidden}.full-preview .preview-panel{position:relative;max-width:960px;margin:auto;left:0;width:auto !important;height:auto !important;transform:none !important;-webkit-transform:none !important;-ms-transform:none !important;overflow:visible;display:block !important;min-height:100%;-webkit-transition:all ease-in-out .4s;transition:all ease-in-out .4s;-webkit-box-shadow:none;box-shadow:none}.full-preview .preview-panel:before{background:inherit;content:' ';position:absolute;width:100%;height:100%;top:0;left:-100%}.full-preview .preview-panel:after{background:inherit;content:' ';position:absolute;width:100%;height:100%;top:0;right:-100%}.full-preview #toggle-preview{display:block;font-size:24px;position:absolute;right:10px;top:10px;color:#aaa;cursor:pointer;color:rgba(102,128,153,0.35);z-index:10}.full-preview #toggle-preview:hover,.full-preview #toggle-preview:active,.full-preview #toggle-preview:focus{color:#036}#readme,#images_area{display:none}#titlebar{height:20px;line-height:18px;z-index:1000000}#titlebar~.layout-wrapper-l1{top:20px}#titlebar~.layout-wrapper-l1 .open-folder-btn{top:22px}#titlebar [class^='icon']:before{margin:0 .1em}#titlebar i{opacity:.8;cursor:pointer}#titlebar i:hover{opacity:.9}#titlebar .window-file{position:absolute;left:1px}#titlebar-bg{position:absolute;width:100%;height:100%;-webkit-filter:contrast(112%)}#dragbar{height:100%;-webkit-app-region:drag;overflow:hidden;margin:0 20px}#dragbar.disabled{-webkit-app-region:no-drag}.window_resizer{float:right;margin-top:1px}.editor-hosted-buttons{display:inline-block}.window-fullscreen{position:absolute;right:4px;top:-1px}body.app{overflow:hidden}body.app .open-folder-btn{display:none}body.app .for-mac{display:none}body.app.mac .window_resizer{display:none}body.app.mac .window_resizer.for-mac{float:left;display:flex;margin-left:4px;margin-top:0}body.app.mac #titlebar .window-file{position:static;order:4;margin-left:15px}body.app.mac #titlebar i{margin:1px}body.app.mac .window-close{order:1}body.app.mac .window-min{order:2}body.app.mac .window-max{order:3}body.app img[src^='http']{animation:img_load .1s;-webkit-animation:img_load .1s}body.app .preview-container{-webkit-user-select:all}@-webkit-keyframes img_load{0%{opacity:.9}100%{opacity:1}}#settings .col-lg-4{float:left;text-align:right;width:33.33333333%}#settings .col-lg-7{float:left;width:58.33333333%}#settings .form-inline .col-lg-7{width:58.33333333%}#settings .form-inline .form-control{display:inline-block}#settings .form-inline *{float:none}#settings .help-block{font-size:12px}#settings .form-control{height:34px}#settings textarea.form-control{width:100%}.toast-warning:before{content:"\e859"}.toast-error:before{content:"\e81b"}.toast-info:before{content:"\e829"}.toast-success:before{content:"\e817"}.modal.slim .modal-dialog{width:400px}.modal.slim .modal-title{text-align:inherit}.modal.slim .modal-content{background:#fff;text-align:center}.modal.slim .modal-content p{color:#777}.modal.slim .modal-body{padding-top:0;padding-bottom:0}.modal.slim .modal-footer{border:none;text-align:center}.modal.slim .modal-header{border:none;color:#546072}.modal.slim .btn-primary{background:#74b936;color:#fff}.modal.slim .btn-primary:hover,.modal.slim .btn-primary:active,.modal.slim .btn-primary:focus{background:#68a530 !important}.modal-dialog.slim .modal-header{padding:10px 15px}.modal-dialog.slim .modal-body{padding:10px 20px}.modal-dialog.slim .modal-footer{padding:10px;background-color:#fff}.modal.error .modal-header{color:#b90b0b}#ace-input{display:none}.layout-wrapper-l2:before{position:absolute;content:'';width:100%;height:100%;background:#f9fafb}#preview-contents{margin-top:30px;padding-left:10px;padding-right:10px}.ace_dark .ace_gutter{color:#aaa !important;background:rgba(0,0,0,0.2) !important}.ace_gutter-cell{padding-left:0 !important}.attachment-wrapper{overflow:hidden}.attachment-placeholder{float:left;display:block}.attachment-placeholder:hover{text-decoration:none}.attachment-placeholder i{font-size:3em;float:left}.attachment-placeholder .file-name{vertical-align:-0.6em;font-weight:bold;line-height:1.8em}.attachment-placeholder .file-size{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;opacity:.6;font-size:80%;white-space:nowrap}.attachment-placeholder img{display:none}#edit-conflict-container{left:50%;bottom:6px;right:1em;margin-left:1em;position:fixed;z-index:11111111;display:none}#edit-conflict-container .toast{margin-bottom:0}#edit-conflict-container .message-content{background-color:#f9f0e3;color:#cf8321;padding:4px 4px;border-radius:4px;float:left;padding-right:10px}.no-preview #edit-conflict-container{left:0}#loading{position:fixed;top:0;left:0;bottom:0;right:0;z-index:10000000;background:#fff;color:#74b936;text-align:center}#loading .loading-container{position:absolute;margin:auto;left:0;right:0;top:30%;bottom:0}#loading b{color:#fff;background:#74b936;font-weight:normal;padding:5px 5px;margin:10px;font-size:50px}#loading h1,#loading h2,#loading h3,#loading h4{font-family:"Helvetica Neue",Arial,"Hiragino Sans GB","STHeiti","Microsoft YaHei","WenQuanYi Micro Hei",SimSun,sans-serif;text-align:center}#loading .reverse{color:#fff !important;background:#74b936 !important;padding:4px;border-radius:4px}#loading #loading-app-name{text-align:center;font-size:54px;margin-top:0;margin-bottom:.8em}#loading #loading-slogan{font-weight:normal}#loading #loading-text{margin:80px auto;text-align:center;margin-bottom:40px}#loading #loading-view-doc{font-size:16px;margin:10px auto}#loading #loading-view-doc a{padding:10px;border-radius:6px;border:1px solid #74b936}#loading #loading-view-doc a:link,#loading #loading-view-doc a:hover,#loading #loading-view-doc a:active,#loading #loading-view-doc a:visited{color:#74b936;text-decoration:none}.slim-scroll ::-webkit-scrollbar{height:10px;width:7px;background:transparent}.slim-scroll ::-webkit-scrollbar:hover{background:rgba(128,128,128,0.1)}.slim-scroll ::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.3);-webkit-border-radius:6px}.slim-scroll ::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,0.6)}.slim-scroll ::-webkit-scrollbar-corner{background:#000}.slim-scroll .ace_dark .ace_scrollbar::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.3);-webkit-border-radius:6px}.slim-scroll .ace_dark .ace_scrollbar::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.6)}.slim-scroll .ace_scroller{right:4px !important}.slim-scroll .ace_scrollbar-v{right:4px !important}.slim-scroll #preview{right:2px}.atwho-view{position:absolute;top:0;left:0;display:none;margin-top:18px;background:#fff;color:#000;border:1px solid #ddd;border-radius:3px;box-shadow:0 0 5px rgba(0,0,0,0.1);min-width:120px;z-index:11110 !important}.atwho-view .cur{background:#36f;color:#fff}.atwho-view .cur small{color:#fff}.atwho-view strong{color:#36f}.atwho-view .cur strong{color:#fff;font:bold}.atwho-view ul{list-style:none;padding:0;margin:auto}.atwho-view ul li{display:block;padding:5px 10px;border-bottom:1px solid #ddd;cursor:pointer}.atwho-view small{font-size:smaller;color:#777;font-weight:normal}
</style>
</head><body><div id='preview-contents' class='note-content'>
                        <div id="wmd-preview" class="preview-content"></div>
                    <div id="wmd-preview-section-114" class="wmd-preview-section preview-content">

</div><div id="wmd-preview-section-115" class="wmd-preview-section preview-content">

<h1 id="lodash-v3101"><a href="https://lodash.com/" target="_blank">lodash</a> <span>v3.10.1</span></h1>

<!-- div class=&#34;toc-container&#34; -->

<!-- div -->

</div><div id="wmd-preview-section-116" class="wmd-preview-section preview-content">

<h2 id="array"><code>Array</code></h2>

<ul><li><a href="#_chunkarray-size1"><code>_.chunk</code></a></li>
<li><a href="#_compactarray"><code>_.compact</code></a></li>
<li><a href="#_differencearray-values"><code>_.difference</code></a></li>
<li><a href="#_droparray-n1"><code>_.drop</code></a></li>
<li><a href="#_droprightarray-n1"><code>_.dropRight</code></a></li>
<li><a href="#_droprightwhilearray-predicate_identity-thisarg"><code>_.dropRightWhile</code></a></li>
<li><a href="#_dropwhilearray-predicate_identity-thisarg"><code>_.dropWhile</code></a></li>
<li><a href="#_fillarray-value-start0-endarraylength"><code>_.fill</code></a></li>
<li><a href="#_findindexarray-predicate_identity-thisarg"><code>_.findIndex</code></a></li>
<li><a href="#_findlastindexarray-predicate_identity-thisarg"><code>_.findLastIndex</code></a></li>
<li><a href="#_firstarray"><code>_.first</code></a></li>
<li><a href="#_flattenarray-isdeep"><code>_.flatten</code></a></li>
<li><a href="#_flattendeeparray"><code>_.flattenDeep</code></a></li>
<li><a href="#_firstarray" class="alias"><code>_.head</code> -&gt; <code>first</code></a></li>
<li><a href="#_indexofarray-value-fromindex0"><code>_.indexOf</code></a></li>
<li><a href="#_initialarray"><code>_.initial</code></a></li>
<li><a href="#_intersectionarrays"><code>_.intersection</code></a></li>
<li><a href="#_lastarray"><code>_.last</code></a></li>
<li><a href="#_lastindexofarray-value-fromindexarraylength-1"><code>_.lastIndexOf</code></a></li>
<li><a href="#_zipobjectprops-values" class="alias"><code>_.object</code> -&gt; <code>zipObject</code></a></li>
<li><a href="#_pullarray-values"><code>_.pull</code></a></li>
<li><a href="#_pullatarray-indexes"><code>_.pullAt</code></a></li>
<li><a href="#_removearray-predicate_identity-thisarg"><code>_.remove</code></a></li>
<li><a href="#_restarray"><code>_.rest</code></a></li>
<li><a href="#_slicearray-start0-endarraylength"><code>_.slice</code></a></li>
<li><a href="#_sortedindexarray-value-iteratee_identity-thisarg"><code>_.sortedIndex</code></a></li>
<li><a href="#_sortedlastindexarray-value-iteratee_identity-thisarg"><code>_.sortedLastIndex</code></a></li>
<li><a href="#_restarray" class="alias"><code>_.tail</code> -&gt; <code>rest</code></a></li>
<li><a href="#_takearray-n1"><code>_.take</code></a></li>
<li><a href="#_takerightarray-n1"><code>_.takeRight</code></a></li>
<li><a href="#_takerightwhilearray-predicate_identity-thisarg"><code>_.takeRightWhile</code></a></li>
<li><a href="#_takewhilearray-predicate_identity-thisarg"><code>_.takeWhile</code></a></li>
<li><a href="#_unionarrays"><code>_.union</code></a></li>
<li><a href="#_uniqarray-issorted-iteratee-thisarg"><code>_.uniq</code></a></li>
<li><a href="#_uniqarray-issorted-iteratee-thisarg" class="alias"><code>_.unique</code> -&gt; <code>uniq</code></a></li>
<li><a href="#_unziparray"><code>_.unzip</code></a></li>
<li><a href="#_unzipwitharray-iteratee-thisarg"><code>_.unzipWith</code></a></li>
<li><a href="#_withoutarray-values"><code>_.without</code></a></li>
<li><a href="#_xorarrays"><code>_.xor</code></a></li>
<li><a href="#_ziparrays"><code>_.zip</code></a></li>
<li><a href="#_zipobjectprops-values"><code>_.zipObject</code></a></li>
<li><a href="#_zipwitharrays-iteratee-thisarg"><code>_.zipWith</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-117" class="wmd-preview-section preview-content">

<h2 id="chain"><code>Chain</code></h2>

<ul><li><a href="#_value"><code>_</code></a></li>
<li><a href="#_chainvalue"><code>_.chain</code></a></li>
<li><a href="#_tapvalue-interceptor-thisarg"><code>_.tap</code></a></li>
<li><a href="#_thruvalue-interceptor-thisarg"><code>_.thru</code></a></li>
<li><a href="#_prototypechain"><code>_.prototype.chain</code></a></li>
<li><a href="#_prototypecommit"><code>_.prototype.commit</code></a></li>
<li><a href="#_prototypeconcatvalues"><code>_.prototype.concat</code></a></li>
<li><a href="#_prototypeplant"><code>_.prototype.plant</code></a></li>
<li><a href="#_prototypereverse"><code>_.prototype.reverse</code></a></li>
<li><a href="#_prototypevalue" class="alias"><code>_.prototype.run</code> -&gt; <code>value</code></a></li>
<li><a href="#_prototypevalue" class="alias"><code>_.prototype.toJSON</code> -&gt; <code>value</code></a></li>
<li><a href="#_prototypetostring"><code>_.prototype.toString</code></a></li>
<li><a href="#_prototypevalue"><code>_.prototype.value</code></a></li>
<li><a href="#_prototypevalue" class="alias"><code>_.prototype.valueOf</code> -&gt; <code>value</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-118" class="wmd-preview-section preview-content">

<h2 id="collection"><code>Collection</code></h2>

<ul><li><a href="#_everycollection-predicate_identity-thisarg" class="alias"><code>_.all</code> -&gt; <code>every</code></a></li>
<li><a href="#_somecollection-predicate_identity-thisarg" class="alias"><code>_.any</code> -&gt; <code>some</code></a></li>
<li><a href="#_atcollection-props"><code>_.at</code></a></li>
<li><a href="#_mapcollection-iteratee_identity-thisarg" class="alias"><code>_.collect</code> -&gt; <code>map</code></a></li>
<li><a href="#_includescollection-target-fromindex0" class="alias"><code>_.contains</code> -&gt; <code>includes</code></a></li>
<li><a href="#_countbycollection-iteratee_identity-thisarg"><code>_.countBy</code></a></li>
<li><a href="#_findcollection-predicate_identity-thisarg" class="alias"><code>_.detect</code> -&gt; <code>find</code></a></li>
<li><a href="#_foreachcollection-iteratee_identity-thisarg" class="alias"><code>_.each</code> -&gt; <code>forEach</code></a></li>
<li><a href="#_foreachrightcollection-iteratee_identity-thisarg" class="alias"><code>_.eachRight</code> -&gt; <code>forEachRight</code></a></li>
<li><a href="#_everycollection-predicate_identity-thisarg"><code>_.every</code></a></li>
<li><a href="#_filtercollection-predicate_identity-thisarg"><code>_.filter</code></a></li>
<li><a href="#_findcollection-predicate_identity-thisarg"><code>_.find</code></a></li>
<li><a href="#_findlastcollection-predicate_identity-thisarg"><code>_.findLast</code></a></li>
<li><a href="#_findwherecollection-source"><code>_.findWhere</code></a></li>
<li><a href="#_reducecollection-iteratee_identity-accumulator-thisarg" class="alias"><code>_.foldl</code> -&gt; <code>reduce</code></a></li>
<li><a href="#_reducerightcollection-iteratee_identity-accumulator-thisarg" class="alias"><code>_.foldr</code> -&gt; <code>reduceRight</code></a></li>
<li><a href="#_foreachcollection-iteratee_identity-thisarg"><code>_.forEach</code></a></li>
<li><a href="#_foreachrightcollection-iteratee_identity-thisarg"><code>_.forEachRight</code></a></li>
<li><a href="#_groupbycollection-iteratee_identity-thisarg"><code>_.groupBy</code></a></li>
<li><a href="#_includescollection-target-fromindex0" class="alias"><code>_.include</code> -&gt; <code>includes</code></a></li>
<li><a href="#_includescollection-target-fromindex0"><code>_.includes</code></a></li>
<li><a href="#_indexbycollection-iteratee_identity-thisarg"><code>_.indexBy</code></a></li>
<li><a href="#_reducecollection-iteratee_identity-accumulator-thisarg" class="alias"><code>_.inject</code> -&gt; <code>reduce</code></a></li>
<li><a href="#_invokecollection-path-args"><code>_.invoke</code></a></li>
<li><a href="#_mapcollection-iteratee_identity-thisarg"><code>_.map</code></a></li>
<li><a href="#_partitioncollection-predicate_identity-thisarg"><code>_.partition</code></a></li>
<li><a href="#_pluckcollection-path"><code>_.pluck</code></a></li>
<li><a href="#_reducecollection-iteratee_identity-accumulator-thisarg"><code>_.reduce</code></a></li>
<li><a href="#_reducerightcollection-iteratee_identity-accumulator-thisarg"><code>_.reduceRight</code></a></li>
<li><a href="#_rejectcollection-predicate_identity-thisarg"><code>_.reject</code></a></li>
<li><a href="#_samplecollection-n"><code>_.sample</code></a></li>
<li><a href="#_filtercollection-predicate_identity-thisarg" class="alias"><code>_.select</code> -&gt; <code>filter</code></a></li>
<li><a href="#_shufflecollection"><code>_.shuffle</code></a></li>
<li><a href="#_sizecollection"><code>_.size</code></a></li>
<li><a href="#_somecollection-predicate_identity-thisarg"><code>_.some</code></a></li>
<li><a href="#_sortbycollection-iteratee_identity-thisarg"><code>_.sortBy</code></a></li>
<li><a href="#_sortbyallcollection-iteratees"><code>_.sortByAll</code></a></li>
<li><a href="#_sortbyordercollection-iteratees-orders"><code>_.sortByOrder</code></a></li>
<li><a href="#_wherecollection-source"><code>_.where</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-119" class="wmd-preview-section preview-content">

<h2 id="date"><code>Date</code></h2>

<ul><li><a href="#_now"><code>_.now</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-120" class="wmd-preview-section preview-content">

<h2 id="function"><code>Function</code></h2>

<ul><li><a href="#_aftern-func"><code>_.after</code></a></li>
<li><a href="#_aryfunc-nfunclength"><code>_.ary</code></a></li>
<li><a href="#_flowrightfuncs" class="alias"><code>_.backflow</code> -&gt; <code>flowRight</code></a></li>
<li><a href="#_beforen-func"><code>_.before</code></a></li>
<li><a href="#_bindfunc-thisarg-partials"><code>_.bind</code></a></li>
<li><a href="#_bindallobject-methodnames"><code>_.bindAll</code></a></li>
<li><a href="#_bindkeyobject-key-partials"><code>_.bindKey</code></a></li>
<li><a href="#_flowrightfuncs" class="alias"><code>_.compose</code> -&gt; <code>flowRight</code></a></li>
<li><a href="#_curryfunc-arityfunclength"><code>_.curry</code></a></li>
<li><a href="#_curryrightfunc-arityfunclength"><code>_.curryRight</code></a></li>
<li><a href="#_debouncefunc-wait0-options"><code>_.debounce</code></a></li>
<li><a href="#_deferfunc-args"><code>_.defer</code></a></li>
<li><a href="#_delayfunc-wait-args"><code>_.delay</code></a></li>
<li><a href="#_flowfuncs"><code>_.flow</code></a></li>
<li><a href="#_flowrightfuncs"><code>_.flowRight</code></a></li>
<li><a href="#_memoizefunc-resolver"><code>_.memoize</code></a></li>
<li><a href="#_modargsfunc-transforms"><code>_.modArgs</code></a></li>
<li><a href="#_negatepredicate"><code>_.negate</code></a></li>
<li><a href="#_oncefunc"><code>_.once</code></a></li>
<li><a href="#_partialfunc-partials"><code>_.partial</code></a></li>
<li><a href="#_partialrightfunc-partials"><code>_.partialRight</code></a></li>
<li><a href="#_reargfunc-indexes"><code>_.rearg</code></a></li>
<li><a href="#_restparamfunc-startfunclength-1"><code>_.restParam</code></a></li>
<li><a href="#_spreadfunc"><code>_.spread</code></a></li>
<li><a href="#_throttlefunc-wait0-options"><code>_.throttle</code></a></li>
<li><a href="#_wrapvalue-wrapper"><code>_.wrap</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-121" class="wmd-preview-section preview-content">

<h2 id="lang"><code>Lang</code></h2>

<ul><li><a href="#_clonevalue-isdeep-customizer-thisarg"><code>_.clone</code></a></li>
<li><a href="#_clonedeepvalue-customizer-thisarg"><code>_.cloneDeep</code></a></li>
<li><a href="#_isequalvalue-other-customizer-thisarg" class="alias"><code>_.eq</code> -&gt; <code>isEqual</code></a></li>
<li><a href="#_gtvalue-other"><code>_.gt</code></a></li>
<li><a href="#_gtevalue-other"><code>_.gte</code></a></li>
<li><a href="#_isargumentsvalue"><code>_.isArguments</code></a></li>
<li><a href="#_isarrayvalue"><code>_.isArray</code></a></li>
<li><a href="#_isbooleanvalue"><code>_.isBoolean</code></a></li>
<li><a href="#_isdatevalue"><code>_.isDate</code></a></li>
<li><a href="#_iselementvalue"><code>_.isElement</code></a></li>
<li><a href="#_isemptyvalue"><code>_.isEmpty</code></a></li>
<li><a href="#_isequalvalue-other-customizer-thisarg"><code>_.isEqual</code></a></li>
<li><a href="#_iserrorvalue"><code>_.isError</code></a></li>
<li><a href="#_isfinitevalue"><code>_.isFinite</code></a></li>
<li><a href="#_isfunctionvalue"><code>_.isFunction</code></a></li>
<li><a href="#_ismatchobject-source-customizer-thisarg"><code>_.isMatch</code></a></li>
<li><a href="#_isnanvalue"><code>_.isNaN</code></a></li>
<li><a href="#_isnativevalue"><code>_.isNative</code></a></li>
<li><a href="#_isnullvalue"><code>_.isNull</code></a></li>
<li><a href="#_isnumbervalue"><code>_.isNumber</code></a></li>
<li><a href="#_isobjectvalue"><code>_.isObject</code></a></li>
<li><a href="#_isplainobjectvalue"><code>_.isPlainObject</code></a></li>
<li><a href="#_isregexpvalue"><code>_.isRegExp</code></a></li>
<li><a href="#_isstringvalue"><code>_.isString</code></a></li>
<li><a href="#_istypedarrayvalue"><code>_.isTypedArray</code></a></li>
<li><a href="#_isundefinedvalue"><code>_.isUndefined</code></a></li>
<li><a href="#_ltvalue-other"><code>_.lt</code></a></li>
<li><a href="#_ltevalue-other"><code>_.lte</code></a></li>
<li><a href="#_toarrayvalue"><code>_.toArray</code></a></li>
<li><a href="#_toplainobjectvalue"><code>_.toPlainObject</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-122" class="wmd-preview-section preview-content">

<h2 id="math"><code>Math</code></h2>

<ul><li><a href="#_addaugend-addend"><code>_.add</code></a></li>
<li><a href="#_ceiln-precision0"><code>_.ceil</code></a></li>
<li><a href="#_floorn-precision0"><code>_.floor</code></a></li>
<li><a href="#_maxcollection-iteratee-thisarg"><code>_.max</code></a></li>
<li><a href="#_mincollection-iteratee-thisarg"><code>_.min</code></a></li>
<li><a href="#_roundn-precision0"><code>_.round</code></a></li>
<li><a href="#_sumcollection-iteratee-thisarg"><code>_.sum</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-123" class="wmd-preview-section preview-content">

<h2 id="number"><code>Number</code></h2>

<ul><li><a href="#_inrangen-start0-end"><code>_.inRange</code></a></li>
<li><a href="#_randommin0-max1-floating"><code>_.random</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-124" class="wmd-preview-section preview-content">

<h2 id="object"><code>Object</code></h2>

<ul><li><a href="#_assignobject-sources-customizer-thisarg"><code>_.assign</code></a></li>
<li><a href="#_createprototype-properties"><code>_.create</code></a></li>
<li><a href="#_defaultsobject-sources"><code>_.defaults</code></a></li>
<li><a href="#_defaultsdeepobject-sources"><code>_.defaultsDeep</code></a></li>
<li><a href="#_assignobject-sources-customizer-thisarg" class="alias"><code>_.extend</code> -&gt; <code>assign</code></a></li>
<li><a href="#_findkeyobject-predicate_identity-thisarg"><code>_.findKey</code></a></li>
<li><a href="#_findlastkeyobject-predicate_identity-thisarg"><code>_.findLastKey</code></a></li>
<li><a href="#_forinobject-iteratee_identity-thisarg"><code>_.forIn</code></a></li>
<li><a href="#_forinrightobject-iteratee_identity-thisarg"><code>_.forInRight</code></a></li>
<li><a href="#_forownobject-iteratee_identity-thisarg"><code>_.forOwn</code></a></li>
<li><a href="#_forownrightobject-iteratee_identity-thisarg"><code>_.forOwnRight</code></a></li>
<li><a href="#_functionsobject"><code>_.functions</code></a></li>
<li><a href="#_getobject-path-defaultvalue"><code>_.get</code></a></li>
<li><a href="#_hasobject-path"><code>_.has</code></a></li>
<li><a href="#_invertobject-multivalue"><code>_.invert</code></a></li>
<li><a href="#_keysobject"><code>_.keys</code></a></li>
<li><a href="#_keysinobject"><code>_.keysIn</code></a></li>
<li><a href="#_mapkeysobject-iteratee_identity-thisarg"><code>_.mapKeys</code></a></li>
<li><a href="#_mapvaluesobject-iteratee_identity-thisarg"><code>_.mapValues</code></a></li>
<li><a href="#_mergeobject-sources-customizer-thisarg"><code>_.merge</code></a></li>
<li><a href="#_functionsobject" class="alias"><code>_.methods</code> -&gt; <code>functions</code></a></li>
<li><a href="#_omitobject-predicate-thisarg"><code>_.omit</code></a></li>
<li><a href="#_pairsobject"><code>_.pairs</code></a></li>
<li><a href="#_pickobject-predicate-thisarg"><code>_.pick</code></a></li>
<li><a href="#_resultobject-path-defaultvalue"><code>_.result</code></a></li>
<li><a href="#_setobject-path-value"><code>_.set</code></a></li>
<li><a href="#_transformobject-iteratee_identity-accumulator-thisarg"><code>_.transform</code></a></li>
<li><a href="#_valuesobject"><code>_.values</code></a></li>
<li><a href="#_valuesinobject"><code>_.valuesIn</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-125" class="wmd-preview-section preview-content">

<h2 id="string"><code>String</code></h2>

<ul><li><a href="#_camelcasestring"><code>_.camelCase</code></a></li>
<li><a href="#_capitalizestring"><code>_.capitalize</code></a></li>
<li><a href="#_deburrstring"><code>_.deburr</code></a></li>
<li><a href="#_endswithstring-target-positionstringlength"><code>_.endsWith</code></a></li>
<li><a href="#_escapestring"><code>_.escape</code></a></li>
<li><a href="#_escaperegexpstring"><code>_.escapeRegExp</code></a></li>
<li><a href="#_kebabcasestring"><code>_.kebabCase</code></a></li>
<li><a href="#_padstring-length0-chars"><code>_.pad</code></a></li>
<li><a href="#_padleftstring-length0-chars"><code>_.padLeft</code></a></li>
<li><a href="#_padrightstring-length0-chars"><code>_.padRight</code></a></li>
<li><a href="#_parseintstring-radix"><code>_.parseInt</code></a></li>
<li><a href="#_repeatstring-n0"><code>_.repeat</code></a></li>
<li><a href="#_snakecasestring"><code>_.snakeCase</code></a></li>
<li><a href="#_startcasestring"><code>_.startCase</code></a></li>
<li><a href="#_startswithstring-target-position0"><code>_.startsWith</code></a></li>
<li><a href="#_templatestring-options"><code>_.template</code></a></li>
<li><a href="#_trimstring-charswhitespace"><code>_.trim</code></a></li>
<li><a href="#_trimleftstring-charswhitespace"><code>_.trimLeft</code></a></li>
<li><a href="#_trimrightstring-charswhitespace"><code>_.trimRight</code></a></li>
<li><a href="#_truncstring-options-optionslength30-optionsomission-optionsseparator"><code>_.trunc</code></a></li>
<li><a href="#_unescapestring"><code>_.unescape</code></a></li>
<li><a href="#_wordsstring-pattern"><code>_.words</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-126" class="wmd-preview-section preview-content">

<h2 id="utility"><code>Utility</code></h2>

<ul><li><a href="#_attemptfunc"><code>_.attempt</code></a></li>
<li><a href="#_callbackfunc_identity-thisarg"><code>_.callback</code></a></li>
<li><a href="#_constantvalue"><code>_.constant</code></a></li>
<li><a href="#_identityvalue"><code>_.identity</code></a></li>
<li><a href="#_callbackfunc_identity-thisarg" class="alias"><code>_.iteratee</code> -&gt; <code>callback</code></a></li>
<li><a href="#_matchessource"><code>_.matches</code></a></li>
<li><a href="#_matchespropertypath-srcvalue"><code>_.matchesProperty</code></a></li>
<li><a href="#_methodpath-args"><code>_.method</code></a></li>
<li><a href="#_methodofobject-args"><code>_.methodOf</code></a></li>
<li><a href="#_mixinobjectlodash-source-options"><code>_.mixin</code></a></li>
<li><a href="#_noconflict"><code>_.noConflict</code></a></li>
<li><a href="#_noop"><code>_.noop</code></a></li>
<li><a href="#_propertypath"><code>_.property</code></a></li>
<li><a href="#_propertyofobject"><code>_.propertyOf</code></a></li>
<li><a href="#_rangestart0-end-step1"><code>_.range</code></a></li>
<li><a href="#_runincontextcontextroot"><code>_.runInContext</code></a></li>
<li><a href="#_timesn-iteratee_identity-thisarg"><code>_.times</code></a></li>
<li><a href="#_uniqueidprefix"><code>_.uniqueId</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-127" class="wmd-preview-section preview-content">

<h2 id="methods"><code>Methods</code></h2>

<ul><li><a href="#_templatesettingsimports_"><code>_.templateSettings.imports._</code></a></li>
</ul>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-128" class="wmd-preview-section preview-content">

<h2 id="properties"><code>Properties</code></h2>

<ul><li><a href="#_version"><code>_.VERSION</code></a></li>
<li><a href="#_support"><code>_.support</code></a></li>
<li><a href="#_supportenumerrorprops"><code>_.support.enumErrorProps</code></a></li>
<li><a href="#_supportenumprototypes"><code>_.support.enumPrototypes</code></a></li>
<li><a href="#_supportnonenumshadows"><code>_.support.nonEnumShadows</code></a></li>
<li><a href="#_supportownlast"><code>_.support.ownLast</code></a></li>
<li><a href="#_supportspliceobjects"><code>_.support.spliceObjects</code></a></li>
<li><a href="#_supportunindexedchars"><code>_.support.unindexedChars</code></a></li>
<li><a href="#_templatesettings"><code>_.templateSettings</code></a></li>
<li><a href="#_templatesettingsescape"><code>_.templateSettings.escape</code></a></li>
<li><a href="#_templatesettingsevaluate"><code>_.templateSettings.evaluate</code></a></li>
<li><a href="#_templatesettingsimports"><code>_.templateSettings.imports</code></a></li>
<li><a href="#_templatesettingsinterpolate"><code>_.templateSettings.interpolate</code></a></li>
<li><a href="#_templatesettingsvariable"><code>_.templateSettings.variable</code></a></li>
</ul>

<!-- /div -->

<!-- /div -->

<!-- div class=&#34;doc-container&#34; -->

<!-- div -->

</div><div id="wmd-preview-section-129" class="wmd-preview-section preview-content">

<h2 id="array-methods"><code>“Array” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-130" class="wmd-preview-section preview-content">

<h3 id="chunkarray-size1"><a id="_chunkarray-size1" href="http://undefined" target="_blank"></a><code>_.chunk(array, [size=1])</code></h3>

<p><a href="#_chunkarray-size1">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4624" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.chunk" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of elements split into groups the length of <code>size</code>. <br>
If <code>collection</code> can’t be split evenly, the final chunk will be the remaining <br>
elements.</p>

</div><div id="wmd-preview-section-131" class="wmd-preview-section preview-content">

<h4 id="arguments">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to process.</li>
<li rel="2"><code>[size=1]</code> <em>(number)</em>: The length of each chunk.</li>
</ol>

</div><div id="wmd-preview-section-132" class="wmd-preview-section preview-content">

<h4 id="returns">Returns</h4>

<p><em>(Array)</em>:  Returns the new array containing chunks.</p>

</div><div id="wmd-preview-section-133" class="wmd-preview-section preview-content">

<h4 id="example">Example</h4>

</div><div id="wmd-preview-section-134" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.chunk([<span class="hljs-string">'a'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-string">'c'</span>, <span class="hljs-string">'d'</span>], <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [['a', 'b'], ['c', 'd']]</span><br><br>_.chunk([<span class="hljs-string">'a'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-string">'c'</span>, <span class="hljs-string">'d'</span>], <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; [['a', 'b', 'c'], ['d']]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-135" class="wmd-preview-section preview-content">

<h3 id="compactarray"><a id="_compactarray" href="http://undefined" target="_blank"></a><code>_.compact(array)</code></h3>

<p><a href="#_compactarray">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4655" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.compact" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array with all falsey values removed. The values <code>false</code>, <code>null</code>, <br>
<code>0</code>, <code>""</code>, <code>undefined</code>, and <code>NaN</code> are falsey.</p>

</div><div id="wmd-preview-section-136" class="wmd-preview-section preview-content">

<h4 id="arguments-1">Arguments</h4>

<ol start="1"><li rel="1"><code>array</code> <em>(Array)</em>: The array to compact.</li>
</ol>

</div><div id="wmd-preview-section-137" class="wmd-preview-section preview-content">

<h4 id="returns-1">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of filtered values.</p>

</div><div id="wmd-preview-section-138" class="wmd-preview-section preview-content">

<h4 id="example-1">Example</h4>

</div><div id="wmd-preview-section-139" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.compact([<span class="hljs-number">0</span>, <span class="hljs-number">1</span>, <span class="hljs-literal">false</span>, <span class="hljs-number">2</span>, <span class="hljs-string">''</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-140" class="wmd-preview-section preview-content">

<h3 id="differencearray-values"><a id="_differencearray-values" href="http://undefined" target="_blank"></a><code>_.difference(array, [values])</code></h3>

<p><a href="#_differencearray-values">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4686" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.difference" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of unique <code>array</code> values not included in the other <br>
provided arrays using <a href="http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero" target="_blank"><code>SameValueZero</code></a> <br>
for equality comparisons.</p>

</div><div id="wmd-preview-section-141" class="wmd-preview-section preview-content">

<h4 id="arguments-2">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to inspect.</li>
<li rel="2"><code>[values]</code> <em>(…Array)</em>: The arrays of values to exclude.</li>
</ol>

</div><div id="wmd-preview-section-142" class="wmd-preview-section preview-content">

<h4 id="returns-2">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of filtered values.</p>

</div><div id="wmd-preview-section-143" class="wmd-preview-section preview-content">

<h4 id="example-2">Example</h4>

</div><div id="wmd-preview-section-144" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.difference([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], [<span class="hljs-number">4</span>, <span class="hljs-number">2</span>]);<br><span class="hljs-comment">// =&gt; [1, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-145" class="wmd-preview-section preview-content">

<h3 id="droparray-n1"><a id="_droparray-n1" href="http://undefined" target="_blank"></a><code>_.drop(array, [n=1])</code></h3>

<p><a href="#_droparray-n1">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4716" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.drop" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> with <code>n</code> elements dropped from the beginning.</p>

</div><div id="wmd-preview-section-146" class="wmd-preview-section preview-content">

<h4 id="arguments-3">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
<li rel="2"><code>[n=1]</code> <em>(number)</em>: The number of elements to drop.</li>
</ol>

</div><div id="wmd-preview-section-147" class="wmd-preview-section preview-content">

<h4 id="returns-3">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-148" class="wmd-preview-section preview-content">

<h4 id="example-3">Example</h4>

</div><div id="wmd-preview-section-149" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.drop([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; [2, 3]</span><br><br>_.drop([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [3]</span><br><br>_.drop([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; []</span><br><br>_.drop([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-150" class="wmd-preview-section preview-content">

<h3 id="droprightarray-n1"><a id="_droprightarray-n1" href="http://undefined" target="_blank"></a><code>_.dropRight(array, [n=1])</code></h3>

<p><a href="#_droprightarray-n1">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4751" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.dropright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> with <code>n</code> elements dropped from the end.</p>

</div><div id="wmd-preview-section-151" class="wmd-preview-section preview-content">

<h4 id="arguments-4">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
<li rel="2"><code>[n=1]</code> <em>(number)</em>: The number of elements to drop.</li>
</ol>

</div><div id="wmd-preview-section-152" class="wmd-preview-section preview-content">

<h4 id="returns-4">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-153" class="wmd-preview-section preview-content">

<h4 id="example-4">Example</h4>

</div><div id="wmd-preview-section-154" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.dropRight([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; [1, 2]</span><br><br>_.dropRight([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [1]</span><br><br>_.dropRight([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; []</span><br><br>_.dropRight([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-155" class="wmd-preview-section preview-content">

<h3 id="droprightwhilearray-predicateidentity-thisarg"><a id="_droprightwhilearray-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.dropRightWhile(array, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_droprightwhilearray-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4812" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.droprightwhile" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> excluding elements dropped from the end. <br>
Elements are dropped until <code>predicate</code> returns falsey. The predicate is <br>
bound to <code>thisArg</code> and invoked with three arguments: (value, index, array). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that match the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-156" class="wmd-preview-section preview-content">

<h4 id="arguments-5">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-157" class="wmd-preview-section preview-content">

<h4 id="returns-5">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-158" class="wmd-preview-section preview-content">

<h4 id="example-5">Example</h4>

</div><div id="wmd-preview-section-159" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.dropRightWhile([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n &gt; <span class="hljs-number">1</span>;<br>});<br><span class="hljs-comment">// =&gt; [1]</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.pluck(_.dropRightWhile(users, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney', 'fred']</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.pluck(_.dropRightWhile(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney']</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.pluck(_.dropRightWhile(users, <span class="hljs-string">'active'</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney', 'fred', 'pebbles']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-160" class="wmd-preview-section preview-content">

<h3 id="dropwhilearray-predicateidentity-thisarg"><a id="_dropwhilearray-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.dropWhile(array, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_dropwhilearray-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4867" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.dropwhile" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> excluding elements dropped from the beginning. <br>
Elements are dropped until <code>predicate</code> returns falsey. The predicate is <br>
bound to <code>thisArg</code> and invoked with three arguments: (value, index, array). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-161" class="wmd-preview-section preview-content">

<h4 id="arguments-6">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-162" class="wmd-preview-section preview-content">

<h4 id="returns-6">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-163" class="wmd-preview-section preview-content">

<h4 id="example-6">Example</h4>

</div><div id="wmd-preview-section-164" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.dropWhile([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n &lt; <span class="hljs-number">3</span>;<br>});<br><span class="hljs-comment">// =&gt; [3]</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }<br>];<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.pluck(_.dropWhile(users, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['fred', 'pebbles']</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.pluck(_.dropWhile(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['pebbles']</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.pluck(_.dropWhile(users, <span class="hljs-string">'active'</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney', 'fred', 'pebbles']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-165" class="wmd-preview-section preview-content">

<h3 id="fillarray-value-start0-endarraylength"><a id="_fillarray-value-start0-endarraylength" href="http://undefined" target="_blank"></a><code>_.fill(array, value, [start=0], [end=array.length])</code></h3>

<p><a href="#_fillarray-value-start0-endarraylength">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4901" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.fill" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Fills elements of <code>array</code> with <code>value</code> from <code>start</code> up to, but not <br>
including, <code>end</code>. <br>
<br>
<br>
<strong>Note:</strong> This method mutates <code>array</code>.</p>

</div><div id="wmd-preview-section-166" class="wmd-preview-section preview-content">

<h4 id="arguments-7">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to fill.</li>
<li rel="2"><code>value</code> <em>(*)</em>: The value to fill <code>array</code> with.</li>
<li rel="3"><code>[start=0]</code> <em>(number)</em>: The start position.</li>
<li rel="4"><code>[end=array.length]</code> <em>(number)</em>: The end position.</li>
</ol>

</div><div id="wmd-preview-section-167" class="wmd-preview-section preview-content">

<h4 id="returns-7">Returns</h4>

<p><em>(Array)</em>:  Returns <code>array</code>.</p>

</div><div id="wmd-preview-section-168" class="wmd-preview-section preview-content">

<h4 id="example-7">Example</h4>

</div><div id="wmd-preview-section-169" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>];<br><br>_.fill(array, <span class="hljs-string">'a'</span>);<br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; ['a', 'a', 'a']</span><br><br>_.fill(<span class="hljs-built_in">Array</span>(<span class="hljs-number">3</span>), <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [2, 2, 2]</span><br><br>_.fill([<span class="hljs-number">4</span>, <span class="hljs-number">6</span>, <span class="hljs-number">8</span>], <span class="hljs-string">'*'</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [4, '*', 8]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-170" class="wmd-preview-section preview-content">

<h3 id="findindexarray-predicateidentity-thisarg"><a id="_findindexarray-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.findIndex(array, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_findindexarray-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L4961" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.findindex" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.find</code> except that it returns the index of the first <br>
element <code>predicate</code> returns truthy for instead of the element itself. <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-171" class="wmd-preview-section preview-content">

<h4 id="arguments-8">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to search.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-172" class="wmd-preview-section preview-content">

<h4 id="returns-8">Returns</h4>

<p><em>(number)</em>:  Returns the index of the found element, else <code>-1</code>.</p>

</div><div id="wmd-preview-section-173" class="wmd-preview-section preview-content">

<h4 id="example-8">Example</h4>

</div><div id="wmd-preview-section-174" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }<br>];<br><br>_.findIndex(users, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>  <span class="hljs-keyword">return</span> chr.user == <span class="hljs-string">'barney'</span>;<br>});<br><span class="hljs-comment">// =&gt; 0</span><br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.findIndex(users, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> });<br><span class="hljs-comment">// =&gt; 1</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.findIndex(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>);<br><span class="hljs-comment">// =&gt; 0</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.findIndex(users, <span class="hljs-string">'active'</span>);<br><span class="hljs-comment">// =&gt; 2</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-175" class="wmd-preview-section preview-content">

<h3 id="findlastindexarray-predicateidentity-thisarg"><a id="_findlastindexarray-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.findLastIndex(array, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_findlastindexarray-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5011" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.findlastindex" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.findIndex</code> except that it iterates over elements <br>
of <code>collection</code> from right to left. <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-176" class="wmd-preview-section preview-content">

<h4 id="arguments-9">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to search.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-177" class="wmd-preview-section preview-content">

<h4 id="returns-9">Returns</h4>

<p><em>(number)</em>:  Returns the index of the found element, else <code>-1</code>.</p>

</div><div id="wmd-preview-section-178" class="wmd-preview-section preview-content">

<h4 id="example-9">Example</h4>

</div><div id="wmd-preview-section-179" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br>_.findLastIndex(users, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>  <span class="hljs-keyword">return</span> chr.user == <span class="hljs-string">'pebbles'</span>;<br>});<br><span class="hljs-comment">// =&gt; 2</span><br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.findLastIndex(users, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> });<br><span class="hljs-comment">// =&gt; 0</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.findLastIndex(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>);<br><span class="hljs-comment">// =&gt; 2</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.findLastIndex(users, <span class="hljs-string">'active'</span>);<br><span class="hljs-comment">// =&gt; 0</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-180" class="wmd-preview-section preview-content">

<h3 id="firstarray"><a id="_firstarray" href="http://undefined" target="_blank"></a><code>_.first(array)</code></h3>

<p><a href="#_firstarray">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5030" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.first" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the first element of <code>array</code>.</p>

</div><div id="wmd-preview-section-181" class="wmd-preview-section preview-content">

<h4 id="aliases">Aliases</h4>

<p><em>_.head</em></p>

</div><div id="wmd-preview-section-182" class="wmd-preview-section preview-content">

<h4 id="arguments-10">Arguments</h4>

<ol start="1"><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
</ol>

</div><div id="wmd-preview-section-183" class="wmd-preview-section preview-content">

<h4 id="returns-10">Returns</h4>

<p><em>(*)</em>:  Returns the first element of <code>array</code>.</p>

</div><div id="wmd-preview-section-184" class="wmd-preview-section preview-content">

<h4 id="example-10">Example</h4>

</div><div id="wmd-preview-section-185" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.first([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; 1</span><br><br>_.first([]);<br><span class="hljs-comment">// =&gt; undefined</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-186" class="wmd-preview-section preview-content">

<h3 id="flattenarray-isdeep"><a id="_flattenarray-isdeep" href="http://undefined" target="_blank"></a><code>_.flatten(array, [isDeep])</code></h3>

<p><a href="#_flattenarray-isdeep">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5054" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.flatten" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Flattens a nested array. If <code>isDeep</code> is <code>true</code> the array is recursively <br>
flattened, otherwise it’s only flattened a single level.</p>

</div><div id="wmd-preview-section-187" class="wmd-preview-section preview-content">

<h4 id="arguments-11">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to flatten.</li>
<li rel="2"><code>[isDeep]</code> <em>(boolean)</em>: Specify a deep flatten.</li>
</ol>

</div><div id="wmd-preview-section-188" class="wmd-preview-section preview-content">

<h4 id="returns-11">Returns</h4>

<p><em>(Array)</em>:  Returns the new flattened array.</p>

</div><div id="wmd-preview-section-189" class="wmd-preview-section preview-content">

<h4 id="example-11">Example</h4>

</div><div id="wmd-preview-section-190" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.flatten([<span class="hljs-number">1</span>, [<span class="hljs-number">2</span>, <span class="hljs-number">3</span>, [<span class="hljs-number">4</span>]]]);<br><span class="hljs-comment">// =&gt; [1, 2, 3, [4]]</span><br><br><span class="hljs-comment">// using `isDeep`</span><br>_.flatten([<span class="hljs-number">1</span>, [<span class="hljs-number">2</span>, <span class="hljs-number">3</span>, [<span class="hljs-number">4</span>]]], <span class="hljs-literal">true</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3, 4]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-191" class="wmd-preview-section preview-content">

<h3 id="flattendeeparray"><a id="_flattendeeparray" href="http://undefined" target="_blank"></a><code>_.flattenDeep(array)</code></h3>

<p><a href="#_flattendeeparray">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5075" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.flattendeep" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Recursively flattens a nested array.</p>

</div><div id="wmd-preview-section-192" class="wmd-preview-section preview-content">

<h4 id="arguments-12">Arguments</h4>

<ol start="1"><li rel="1"><code>array</code> <em>(Array)</em>: The array to recursively flatten.</li>
</ol>

</div><div id="wmd-preview-section-193" class="wmd-preview-section preview-content">

<h4 id="returns-12">Returns</h4>

<p><em>(Array)</em>:  Returns the new flattened array.</p>

</div><div id="wmd-preview-section-194" class="wmd-preview-section preview-content">

<h4 id="example-12">Example</h4>

</div><div id="wmd-preview-section-195" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.flattenDeep([<span class="hljs-number">1</span>, [<span class="hljs-number">2</span>, <span class="hljs-number">3</span>, [<span class="hljs-number">4</span>]]]);<br><span class="hljs-comment">// =&gt; [1, 2, 3, 4]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-196" class="wmd-preview-section preview-content">

<h3 id="indexofarray-value-fromindex0"><a id="_indexofarray-value-fromindex0" href="http://undefined" target="_blank"></a><code>_.indexOf(array, value, [fromIndex=0])</code></h3>

<p><a href="#_indexofarray-value-fromindex0">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5108" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.indexof" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the index at which the first occurrence of <code>value</code> is found in <code>array</code> <br>
using <a href="http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero" target="_blank"><code>SameValueZero</code></a> <br>
for equality comparisons. If <code>fromIndex</code> is negative, it’s used as the offset <br>
from the end of <code>array</code>. If <code>array</code> is sorted providing <code>true</code> for <code>fromIndex</code> <br>
performs a faster binary search.</p>

</div><div id="wmd-preview-section-197" class="wmd-preview-section preview-content">

<h4 id="arguments-13">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to search.</li>
<li rel="2"><code>value</code> <em>(*)</em>: The value to search for.</li>
<li rel="3"><code>[fromIndex=0]</code> <em>(boolean|number)</em>: The index to search from or <code>true</code> to perform a binary search on a sorted array.</li>
</ol>

</div><div id="wmd-preview-section-198" class="wmd-preview-section preview-content">

<h4 id="returns-13">Returns</h4>

<p><em>(number)</em>:  Returns the index of the matched value, else <code>-1</code>.</p>

</div><div id="wmd-preview-section-199" class="wmd-preview-section preview-content">

<h4 id="example-13">Example</h4>

</div><div id="wmd-preview-section-200" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.indexOf([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>], <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 1</span><br><br><span class="hljs-comment">// using `fromIndex`</span><br>_.indexOf([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>], <span class="hljs-number">2</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 3</span><br><br><span class="hljs-comment">// performing a binary search</span><br>_.indexOf([<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">2</span>], <span class="hljs-number">2</span>, <span class="hljs-literal">true</span>);<br><span class="hljs-comment">// =&gt; 2</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-201" class="wmd-preview-section preview-content">

<h3 id="initialarray"><a id="_initialarray" href="http://undefined" target="_blank"></a><code>_.initial(array)</code></h3>

<p><a href="#_initialarray">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5139" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.initial" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets all but the last element of <code>array</code>.</p>

</div><div id="wmd-preview-section-202" class="wmd-preview-section preview-content">

<h4 id="arguments-14">Arguments</h4>

<ol start="1"><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
</ol>

</div><div id="wmd-preview-section-203" class="wmd-preview-section preview-content">

<h4 id="returns-14">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-204" class="wmd-preview-section preview-content">

<h4 id="example-14">Example</h4>

</div><div id="wmd-preview-section-205" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.initial([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; [1, 2]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-206" class="wmd-preview-section preview-content">

<h3 id="intersectionarrays"><a id="_intersectionarrays" href="http://undefined" target="_blank"></a><code>_.intersection([arrays])</code></h3>

<p><a href="#_intersectionarrays">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5157" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.intersection" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of unique values that are included in all of the provided <br>
arrays using <a href="http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero" target="_blank"><code>SameValueZero</code></a> <br>
for equality comparisons.</p>

</div><div id="wmd-preview-section-207" class="wmd-preview-section preview-content">

<h4 id="arguments-15">Arguments</h4>

<ol start="1"><li rel="1"><code>[arrays]</code> <em>(…Array)</em>: The arrays to inspect.</li>
</ol>

</div><div id="wmd-preview-section-208" class="wmd-preview-section preview-content">

<h4 id="returns-15">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of shared values.</p>

</div><div id="wmd-preview-section-209" class="wmd-preview-section preview-content">

<h4 id="example-15">Example</h4>

</div><div id="wmd-preview-section-210" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.intersection([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>], [<span class="hljs-number">4</span>, <span class="hljs-number">2</span>], [<span class="hljs-number">2</span>, <span class="hljs-number">1</span>]);<br><span class="hljs-comment">// =&gt; [2]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-211" class="wmd-preview-section preview-content">

<h3 id="lastarray"><a id="_lastarray" href="http://undefined" target="_blank"></a><code>_.last(array)</code></h3>

<p><a href="#_lastarray">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5207" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.last" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the last element of <code>array</code>.</p>

</div><div id="wmd-preview-section-212" class="wmd-preview-section preview-content">

<h4 id="arguments-16">Arguments</h4>

<ol start="1"><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
</ol>

</div><div id="wmd-preview-section-213" class="wmd-preview-section preview-content">

<h4 id="returns-16">Returns</h4>

<p><em>(*)</em>:  Returns the last element of <code>array</code>.</p>

</div><div id="wmd-preview-section-214" class="wmd-preview-section preview-content">

<h4 id="example-16">Example</h4>

</div><div id="wmd-preview-section-215" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.last([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; 3</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-216" class="wmd-preview-section preview-content">

<h3 id="lastindexofarray-value-fromindexarraylength-1"><a id="_lastindexofarray-value-fromindexarraylength-1" href="http://undefined" target="_blank"></a><code>_.lastIndexOf(array, value, [fromIndex=array.length-1])</code></h3>

<p><a href="#_lastindexofarray-value-fromindexarraylength-1">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5237" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.lastindexof" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.indexOf</code> except that it iterates over elements of <br>
<code>array</code> from right to left.</p>

</div><div id="wmd-preview-section-217" class="wmd-preview-section preview-content">

<h4 id="arguments-17">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to search.</li>
<li rel="2"><code>value</code> <em>(*)</em>: The value to search for.</li>
<li rel="3"><code>[fromIndex=array.length-1]</code> <em>(boolean|number)</em>: The index to search from or <code>true</code> to perform a binary search on a sorted array.</li>
</ol>

</div><div id="wmd-preview-section-218" class="wmd-preview-section preview-content">

<h4 id="returns-17">Returns</h4>

<p><em>(number)</em>:  Returns the index of the matched value, else <code>-1</code>.</p>

</div><div id="wmd-preview-section-219" class="wmd-preview-section preview-content">

<h4 id="example-17">Example</h4>

</div><div id="wmd-preview-section-220" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.lastIndexOf([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>], <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 3</span><br><br><span class="hljs-comment">// using `fromIndex`</span><br>_.lastIndexOf([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>], <span class="hljs-number">2</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 1</span><br><br><span class="hljs-comment">// performing a binary search</span><br>_.lastIndexOf([<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">2</span>], <span class="hljs-number">2</span>, <span class="hljs-literal">true</span>);<br><span class="hljs-comment">// =&gt; 3</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-221" class="wmd-preview-section preview-content">

<h3 id="pullarray-values"><a id="_pullarray-values" href="http://undefined" target="_blank"></a><code>_.pull(array, [values])</code></h3>

<p><a href="#_pullarray-values">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5285" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.pull" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Removes all provided values from <code>array</code> using <br>
<a href="http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero" target="_blank"><code>SameValueZero</code></a> <br>
for equality comparisons. <br>
<br>
<br>
<strong>Note:</strong> Unlike <code>_.without</code>, this method mutates <code>array</code>.</p>

</div><div id="wmd-preview-section-222" class="wmd-preview-section preview-content">

<h4 id="arguments-18">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to modify.</li>
<li rel="2"><code>[values]</code> <em>(…*)</em>: The values to remove.</li>
</ol>

</div><div id="wmd-preview-section-223" class="wmd-preview-section preview-content">

<h4 id="returns-18">Returns</h4>

<p><em>(Array)</em>:  Returns <code>array</code>.</p>

</div><div id="wmd-preview-section-224" class="wmd-preview-section preview-content">

<h4 id="example-18">Example</h4>

</div><div id="wmd-preview-section-225" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>];<br><br>_.pull(array, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>);<br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; [1, 1]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-226" class="wmd-preview-section preview-content">

<h3 id="pullatarray-indexes"><a id="_pullatarray-indexes" href="http://undefined" target="_blank"></a><code>_.pullAt(array, [indexes])</code></h3>

<p><a href="#_pullatarray-indexes">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5332" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.pullat" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Removes elements from <code>array</code> corresponding to the given indexes and returns <br>
an array of the removed elements. Indexes may be specified as an array of <br>
indexes or as individual arguments. <br>
<br>
<br>
<strong>Note:</strong> Unlike <code>_.at</code>, this method mutates <code>array</code>.</p>

</div><div id="wmd-preview-section-227" class="wmd-preview-section preview-content">

<h4 id="arguments-19">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to modify.</li>
<li rel="2"><code>[indexes]</code> <em>(…(number|number[])</em>: The indexes of elements to remove, specified as individual indexes or arrays of indexes.</li>
</ol>

</div><div id="wmd-preview-section-228" class="wmd-preview-section preview-content">

<h4 id="returns-19">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of removed elements.</p>

</div><div id="wmd-preview-section-229" class="wmd-preview-section preview-content">

<h4 id="example-19">Example</h4>

</div><div id="wmd-preview-section-230" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">5</span>, <span class="hljs-number">10</span>, <span class="hljs-number">15</span>, <span class="hljs-number">20</span>];<br><span class="hljs-keyword">var</span> evens = _.pullAt(array, <span class="hljs-number">1</span>, <span class="hljs-number">3</span>);<br><br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; [5, 15]</span><br><br><span class="hljs-built_in">console</span>.log(evens);<br><span class="hljs-comment">// =&gt; [10, 20]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-231" class="wmd-preview-section preview-content">

<h3 id="removearray-predicateidentity-thisarg"><a id="_removearray-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.remove(array, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_removearray-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5379" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.remove" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Removes all elements from <code>array</code> that <code>predicate</code> returns truthy for <br>
and returns an array of the removed elements. The predicate is bound to <br>
<code>thisArg</code> and invoked with three arguments: (value, index, array). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>. <br>
<br>
<br>
<strong>Note:</strong> Unlike <code>_.filter</code>, this method mutates <code>array</code>.</p>

</div><div id="wmd-preview-section-232" class="wmd-preview-section preview-content">

<h4 id="arguments-20">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to modify.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-233" class="wmd-preview-section preview-content">

<h4 id="returns-20">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of removed elements.</p>

</div><div id="wmd-preview-section-234" class="wmd-preview-section preview-content">

<h4 id="example-20">Example</h4>

</div><div id="wmd-preview-section-235" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>];<br><span class="hljs-keyword">var</span> evens = _.remove(array, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n % <span class="hljs-number">2</span> == <span class="hljs-number">0</span>;<br>});<br><br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; [1, 3]</span><br><br><span class="hljs-built_in">console</span>.log(evens);<br><span class="hljs-comment">// =&gt; [2, 4]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-236" class="wmd-preview-section preview-content">

<h3 id="restarray"><a id="_restarray" href="http://undefined" target="_blank"></a><code>_.rest(array)</code></h3>

<p><a href="#_restarray">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5414" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.rest" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets all but the first element of <code>array</code>.</p>

</div><div id="wmd-preview-section-237" class="wmd-preview-section preview-content">

<h4 id="aliases-1">Aliases</h4>

<p><em>_.tail</em></p>

</div><div id="wmd-preview-section-238" class="wmd-preview-section preview-content">

<h4 id="arguments-21">Arguments</h4>

<ol start="1"><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
</ol>

</div><div id="wmd-preview-section-239" class="wmd-preview-section preview-content">

<h4 id="returns-21">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-240" class="wmd-preview-section preview-content">

<h4 id="example-21">Example</h4>

</div><div id="wmd-preview-section-241" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.rest([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; [2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-242" class="wmd-preview-section preview-content">

<h3 id="slicearray-start0-endarraylength"><a id="_slicearray-start0-endarraylength" href="http://undefined" target="_blank"></a><code>_.slice(array, [start=0], [end=array.length])</code></h3>

<p><a href="#_slicearray-start0-endarraylength">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5432" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.slice" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> from <code>start</code> up to, but not including, <code>end</code>. <br>
<br>
<br>
<strong>Note:</strong> This method is used instead of <code>Array#slice</code> to support node <br>
lists in IE &lt; 9 and to ensure dense arrays are returned.</p>

</div><div id="wmd-preview-section-243" class="wmd-preview-section preview-content">

<h4 id="arguments-22">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to slice.</li>
<li rel="2"><code>[start=0]</code> <em>(number)</em>: The start position.</li>
<li rel="3"><code>[end=array.length]</code> <em>(number)</em>: The end position.</li>
</ol>

</div><div id="wmd-preview-section-244" class="wmd-preview-section preview-content">

<h4 id="returns-22">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-245" class="wmd-preview-section preview-content">

<h3 id="sortedindexarray-value-iterateeidentity-thisarg"><a id="_sortedindexarray-value-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.sortedIndex(array, value, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_sortedindexarray-value-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5492" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.sortedindex" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Uses a binary search to determine the lowest index at which <code>value</code> should <br>
be inserted into <code>array</code> in order to maintain its sort order. If an iteratee <br>
function is provided it’s invoked for <code>value</code> and each element of <code>array</code> <br>
to compute their sort ranking. The iteratee is bound to <code>thisArg</code> and <br>
invoked with one argument; (value). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-246" class="wmd-preview-section preview-content">

<h4 id="arguments-23">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The sorted array to inspect.</li>
<li rel="2"><code>value</code> <em>(*)</em>: The value to evaluate.</li>
<li rel="3"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-247" class="wmd-preview-section preview-content">

<h4 id="returns-23">Returns</h4>

<p><em>(number)</em>:  Returns the index at which <code>value</code> should be inserted <br>
into <code>array</code>.</p>

</div><div id="wmd-preview-section-248" class="wmd-preview-section preview-content">

<h4 id="example-22">Example</h4>

</div><div id="wmd-preview-section-249" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.sortedIndex([<span class="hljs-number">30</span>, <span class="hljs-number">50</span>], <span class="hljs-number">40</span>);<br><span class="hljs-comment">// =&gt; 1</span><br><br>_.sortedIndex([<span class="hljs-number">4</span>, <span class="hljs-number">4</span>, <span class="hljs-number">5</span>, <span class="hljs-number">5</span>], <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; 2</span><br><br><span class="hljs-keyword">var</span> dict = { <span class="hljs-string">'data'</span>: { <span class="hljs-string">'thirty'</span>: <span class="hljs-number">30</span>, <span class="hljs-string">'forty'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'fifty'</span>: <span class="hljs-number">50</span> } };<br><br><span class="hljs-comment">// using an iteratee function</span><br>_.sortedIndex([<span class="hljs-string">'thirty'</span>, <span class="hljs-string">'fifty'</span>], <span class="hljs-string">'forty'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(word)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.data[word];<br>}, dict);<br><span class="hljs-comment">// =&gt; 1</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.sortedIndex([{ <span class="hljs-string">'x'</span>: <span class="hljs-number">30</span> }, { <span class="hljs-string">'x'</span>: <span class="hljs-number">50</span> }], { <span class="hljs-string">'x'</span>: <span class="hljs-number">40</span> }, <span class="hljs-string">'x'</span>);<br><span class="hljs-comment">// =&gt; 1</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-250" class="wmd-preview-section preview-content">

<h3 id="sortedlastindexarray-value-iterateeidentity-thisarg"><a id="_sortedlastindexarray-value-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.sortedLastIndex(array, value, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_sortedlastindexarray-value-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5514" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.sortedlastindex" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.sortedIndex</code> except that it returns the highest <br>
index at which <code>value</code> should be inserted into <code>array</code> in order to <br>
maintain its sort order.</p>

</div><div id="wmd-preview-section-251" class="wmd-preview-section preview-content">

<h4 id="arguments-24">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The sorted array to inspect.</li>
<li rel="2"><code>value</code> <em>(*)</em>: The value to evaluate.</li>
<li rel="3"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-252" class="wmd-preview-section preview-content">

<h4 id="returns-24">Returns</h4>

<p><em>(number)</em>:  Returns the index at which <code>value</code> should be inserted <br>
into <code>array</code>.</p>

</div><div id="wmd-preview-section-253" class="wmd-preview-section preview-content">

<h4 id="example-23">Example</h4>

</div><div id="wmd-preview-section-254" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.sortedLastIndex([<span class="hljs-number">4</span>, <span class="hljs-number">4</span>, <span class="hljs-number">5</span>, <span class="hljs-number">5</span>], <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; 4</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-255" class="wmd-preview-section preview-content">

<h3 id="takearray-n1"><a id="_takearray-n1" href="http://undefined" target="_blank"></a><code>_.take(array, [n=1])</code></h3>

<p><a href="#_takearray-n1">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5540" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.take" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> with <code>n</code> elements taken from the beginning.</p>

</div><div id="wmd-preview-section-256" class="wmd-preview-section preview-content">

<h4 id="arguments-25">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
<li rel="2"><code>[n=1]</code> <em>(number)</em>: The number of elements to take.</li>
</ol>

</div><div id="wmd-preview-section-257" class="wmd-preview-section preview-content">

<h4 id="returns-25">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-258" class="wmd-preview-section preview-content">

<h4 id="example-24">Example</h4>

</div><div id="wmd-preview-section-259" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.take([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; [1]</span><br><br>_.take([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [1, 2]</span><br><br>_.take([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br>_.take([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; []</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-260" class="wmd-preview-section preview-content">

<h3 id="takerightarray-n1"><a id="_takerightarray-n1" href="http://undefined" target="_blank"></a><code>_.takeRight(array, [n=1])</code></h3>

<p><a href="#_takerightarray-n1">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5575" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.takeright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> with <code>n</code> elements taken from the end.</p>

</div><div id="wmd-preview-section-261" class="wmd-preview-section preview-content">

<h4 id="arguments-26">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
<li rel="2"><code>[n=1]</code> <em>(number)</em>: The number of elements to take.</li>
</ol>

</div><div id="wmd-preview-section-262" class="wmd-preview-section preview-content">

<h4 id="returns-26">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-263" class="wmd-preview-section preview-content">

<h4 id="example-25">Example</h4>

</div><div id="wmd-preview-section-264" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.takeRight([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; [3]</span><br><br>_.takeRight([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [2, 3]</span><br><br>_.takeRight([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br>_.takeRight([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; []</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-265" class="wmd-preview-section preview-content">

<h3 id="takerightwhilearray-predicateidentity-thisarg"><a id="_takerightwhilearray-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.takeRightWhile(array, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_takerightwhilearray-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5636" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.takerightwhile" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> with elements taken from the end. Elements are <br>
taken until <code>predicate</code> returns falsey. The predicate is bound to <code>thisArg</code> <br>
and invoked with three arguments: (value, index, array). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-266" class="wmd-preview-section preview-content">

<h4 id="arguments-27">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-267" class="wmd-preview-section preview-content">

<h4 id="returns-27">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-268" class="wmd-preview-section preview-content">

<h4 id="example-26">Example</h4>

</div><div id="wmd-preview-section-269" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.takeRightWhile([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n &gt; <span class="hljs-number">1</span>;<br>});<br><span class="hljs-comment">// =&gt; [2, 3]</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.pluck(_.takeRightWhile(users, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['pebbles']</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.pluck(_.takeRightWhile(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['fred', 'pebbles']</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.pluck(_.takeRightWhile(users, <span class="hljs-string">'active'</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; []</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-270" class="wmd-preview-section preview-content">

<h3 id="takewhilearray-predicateidentity-thisarg"><a id="_takewhilearray-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.takeWhile(array, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_takewhilearray-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5691" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.takewhile" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a slice of <code>array</code> with elements taken from the beginning. Elements <br>
are taken until <code>predicate</code> returns falsey. The predicate is bound to <br>
<code>thisArg</code> and invoked with three arguments: (value, index, array). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-271" class="wmd-preview-section preview-content">

<h4 id="arguments-28">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to query.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-272" class="wmd-preview-section preview-content">

<h4 id="returns-28">Returns</h4>

<p><em>(Array)</em>:  Returns the slice of <code>array</code>.</p>

</div><div id="wmd-preview-section-273" class="wmd-preview-section preview-content">

<h4 id="example-27">Example</h4>

</div><div id="wmd-preview-section-274" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.takeWhile([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n &lt; <span class="hljs-number">3</span>;<br>});<br><span class="hljs-comment">// =&gt; [1, 2]</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span>},<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }<br>];<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.pluck(_.takeWhile(users, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney']</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.pluck(_.takeWhile(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney', 'fred']</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.pluck(_.takeWhile(users, <span class="hljs-string">'active'</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; []</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-275" class="wmd-preview-section preview-content">

<h3 id="unionarrays"><a id="_unionarrays" href="http://undefined" target="_blank"></a><code>_.union([arrays])</code></h3>

<p><a href="#_unionarrays">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5712" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.union" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of unique values, in order, from all of the provided arrays <br>
using <a href="http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero" target="_blank"><code>SameValueZero</code></a> <br>
for equality comparisons.</p>

</div><div id="wmd-preview-section-276" class="wmd-preview-section preview-content">

<h4 id="arguments-29">Arguments</h4>

<ol start="1"><li rel="1"><code>[arrays]</code> <em>(…Array)</em>: The arrays to inspect.</li>
</ol>

</div><div id="wmd-preview-section-277" class="wmd-preview-section preview-content">

<h4 id="returns-29">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of combined values.</p>

</div><div id="wmd-preview-section-278" class="wmd-preview-section preview-content">

<h4 id="example-28">Example</h4>

</div><div id="wmd-preview-section-279" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.union([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>], [<span class="hljs-number">4</span>, <span class="hljs-number">2</span>], [<span class="hljs-number">2</span>, <span class="hljs-number">1</span>]);<br><span class="hljs-comment">// =&gt; [1, 2, 4]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-280" class="wmd-preview-section preview-content">

<h3 id="uniqarray-issorted-iteratee-thisarg"><a id="_uniqarray-issorted-iteratee-thisarg" href="http://undefined" target="_blank"></a><code>_.uniq(array, [isSorted], [iteratee], [thisArg])</code></h3>

<p><a href="#_uniqarray-issorted-iteratee-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5765" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.uniq" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a duplicate-free version of an array, using <br>
<a href="http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero" target="_blank"><code>SameValueZero</code></a> <br>
for equality comparisons, in which only the first occurence of each element <br>
is kept. Providing <code>true</code> for <code>isSorted</code> performs a faster search algorithm <br>
for sorted arrays. If an iteratee function is provided it’s invoked for <br>
each element in the array to generate the criterion by which uniqueness <br>
is computed. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with three <br>
arguments: (value, index, array). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-281" class="wmd-preview-section preview-content">

<h4 id="aliases-2">Aliases</h4>

<p><em>_.unique</em></p>

</div><div id="wmd-preview-section-282" class="wmd-preview-section preview-content">

<h4 id="arguments-30">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to inspect.</li>
<li rel="2"><code>[isSorted]</code> <em>(boolean)</em>: Specify the array is sorted.</li>
<li rel="3"><code>[iteratee]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-283" class="wmd-preview-section preview-content">

<h4 id="returns-30">Returns</h4>

<p><em>(Array)</em>:  Returns the new duplicate-value-free array.</p>

</div><div id="wmd-preview-section-284" class="wmd-preview-section preview-content">

<h4 id="example-29">Example</h4>

</div><div id="wmd-preview-section-285" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.uniq([<span class="hljs-number">2</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>]);<br><span class="hljs-comment">// =&gt; [2, 1]</span><br><br><span class="hljs-comment">// using `isSorted`</span><br>_.uniq([<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>], <span class="hljs-literal">true</span>);<br><span class="hljs-comment">// =&gt; [1, 2]</span><br><br><span class="hljs-comment">// using an iteratee function</span><br>_.uniq([<span class="hljs-number">1</span>, <span class="hljs-number">2.5</span>, <span class="hljs-number">1.5</span>, <span class="hljs-number">2</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.floor(n);<br>}, <span class="hljs-built_in">Math</span>);<br><span class="hljs-comment">// =&gt; [1, 2.5]</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.uniq([{ <span class="hljs-string">'x'</span>: <span class="hljs-number">1</span> }, { <span class="hljs-string">'x'</span>: <span class="hljs-number">2</span> }, { <span class="hljs-string">'x'</span>: <span class="hljs-number">1</span> }], <span class="hljs-string">'x'</span>);<br><span class="hljs-comment">// =&gt; [{ 'x': 1 }, { 'x': 2 }]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-286" class="wmd-preview-section preview-content">

<h3 id="unziparray"><a id="_unziparray" href="http://undefined" target="_blank"></a><code>_.unzip(array)</code></h3>

<p><a href="#_unziparray">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5802" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.unzip" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.zip</code> except that it accepts an array of grouped <br>
elements and creates an array regrouping the elements to their pre-zip <br>
configuration.</p>

</div><div id="wmd-preview-section-287" class="wmd-preview-section preview-content">

<h4 id="arguments-31">Arguments</h4>

<ol start="1"><li rel="1"><code>array</code> <em>(Array)</em>: The array of grouped elements to process.</li>
</ol>

</div><div id="wmd-preview-section-288" class="wmd-preview-section preview-content">

<h4 id="returns-31">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of regrouped elements.</p>

</div><div id="wmd-preview-section-289" class="wmd-preview-section preview-content">

<h4 id="example-30">Example</h4>

</div><div id="wmd-preview-section-290" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> zipped = _.zip([<span class="hljs-string">'fred'</span>, <span class="hljs-string">'barney'</span>], [<span class="hljs-number">30</span>, <span class="hljs-number">40</span>], [<span class="hljs-literal">true</span>, <span class="hljs-literal">false</span>]);<br><span class="hljs-comment">// =&gt; [['fred', 30, true], ['barney', 40, false]]</span><br><br>_.unzip(zipped);<br><span class="hljs-comment">// =&gt; [['fred', 'barney'], [30, 40], [true, false]]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-291" class="wmd-preview-section preview-content">

<h3 id="unzipwitharray-iteratee-thisarg"><a id="_unzipwitharray-iteratee-thisarg" href="http://undefined" target="_blank"></a><code>_.unzipWith(array, [iteratee], [thisArg])</code></h3>

<p><a href="#_unzipwitharray-iteratee-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5842" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.unzipwith" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.unzip</code> except that it accepts an iteratee to specify <br>
how regrouped values should be combined. The <code>iteratee</code> is bound to <code>thisArg</code> <br>
and invoked with four arguments: (accumulator, value, index, group).</p>

</div><div id="wmd-preview-section-292" class="wmd-preview-section preview-content">

<h4 id="arguments-32">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array of grouped elements to process.</li>
<li rel="2"><code>[iteratee]</code> <em>(Function)</em>: The function to combine regrouped values.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-293" class="wmd-preview-section preview-content">

<h4 id="returns-32">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of regrouped elements.</p>

</div><div id="wmd-preview-section-294" class="wmd-preview-section preview-content">

<h4 id="example-31">Example</h4>

</div><div id="wmd-preview-section-295" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> zipped = _.zip([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>], [<span class="hljs-number">10</span>, <span class="hljs-number">20</span>], [<span class="hljs-number">100</span>, <span class="hljs-number">200</span>]);<br><span class="hljs-comment">// =&gt; [[1, 10, 100], [2, 20, 200]]</span><br><br>_.unzipWith(zipped, _.add);<br><span class="hljs-comment">// =&gt; [3, 30, 300]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-296" class="wmd-preview-section preview-content">

<h3 id="withoutarray-values"><a id="_withoutarray-values" href="http://undefined" target="_blank"></a><code>_.without(array, [values])</code></h3>

<p><a href="#_withoutarray-values">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5873" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.without" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array excluding all provided values using <br>
<a href="http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero" target="_blank"><code>SameValueZero</code></a> <br>
for equality comparisons.</p>

</div><div id="wmd-preview-section-297" class="wmd-preview-section preview-content">

<h4 id="arguments-33">Arguments</h4>

<ol><li rel="1"><code>array</code> <em>(Array)</em>: The array to filter.</li>
<li rel="2"><code>[values]</code> <em>(…*)</em>: The values to exclude.</li>
</ol>

</div><div id="wmd-preview-section-298" class="wmd-preview-section preview-content">

<h4 id="returns-33">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of filtered values.</p>

</div><div id="wmd-preview-section-299" class="wmd-preview-section preview-content">

<h4 id="example-32">Example</h4>

</div><div id="wmd-preview-section-300" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.without([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">1</span>, <span class="hljs-number">3</span>], <span class="hljs-number">1</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-301" class="wmd-preview-section preview-content">

<h3 id="xorarrays"><a id="_xorarrays" href="http://undefined" target="_blank"></a><code>_.xor([arrays])</code></h3>

<p><a href="#_xorarrays">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5893" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.xor" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of unique values that is the <a href="https://en.wikipedia.org/wiki/Symmetric_difference" target="_blank">symmetric difference</a> <br>
of the provided arrays.</p>

</div><div id="wmd-preview-section-302" class="wmd-preview-section preview-content">

<h4 id="arguments-34">Arguments</h4>

<ol start="1"><li rel="1"><code>[arrays]</code> <em>(…Array)</em>: The arrays to inspect.</li>
</ol>

</div><div id="wmd-preview-section-303" class="wmd-preview-section preview-content">

<h4 id="returns-34">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of values.</p>

</div><div id="wmd-preview-section-304" class="wmd-preview-section preview-content">

<h4 id="example-33">Example</h4>

</div><div id="wmd-preview-section-305" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.xor([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>], [<span class="hljs-number">4</span>, <span class="hljs-number">2</span>]);<br><span class="hljs-comment">// =&gt; [1, 4]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-306" class="wmd-preview-section preview-content">

<h3 id="ziparrays"><a id="_ziparrays" href="http://undefined" target="_blank"></a><code>_.zip([arrays])</code></h3>

<p><a href="#_ziparrays">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5923" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.zip" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of grouped elements, the first of which contains the first <br>
elements of the given arrays, the second of which contains the second elements <br>
of the given arrays, and so on.</p>

</div><div id="wmd-preview-section-307" class="wmd-preview-section preview-content">

<h4 id="arguments-35">Arguments</h4>

<ol start="1"><li rel="1"><code>[arrays]</code> <em>(…Array)</em>: The arrays to process.</li>
</ol>

</div><div id="wmd-preview-section-308" class="wmd-preview-section preview-content">

<h4 id="returns-35">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of grouped elements.</p>

</div><div id="wmd-preview-section-309" class="wmd-preview-section preview-content">

<h4 id="example-34">Example</h4>

</div><div id="wmd-preview-section-310" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.zip([<span class="hljs-string">'fred'</span>, <span class="hljs-string">'barney'</span>], [<span class="hljs-number">30</span>, <span class="hljs-number">40</span>], [<span class="hljs-literal">true</span>, <span class="hljs-literal">false</span>]);<br><span class="hljs-comment">// =&gt; [['fred', 30, true], ['barney', 40, false]]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-311" class="wmd-preview-section preview-content">

<h3 id="zipobjectprops-values"><a id="_zipobjectprops-values" href="http://undefined" target="_blank"></a><code>_.zipObject(props, [values=[]])</code></h3>

<p><a href="#_zipobjectprops-values">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5946" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.zipobject" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>The inverse of <code>_.pairs</code>; this method returns an object composed from arrays <br>
of property names and values. Provide either a single two dimensional array, <br>
e.g. <code>[[key1, value1], [key2, value2]]</code> or two arrays, one of property names <br>
and one of corresponding values.</p>

</div><div id="wmd-preview-section-312" class="wmd-preview-section preview-content">

<h4 id="aliases-3">Aliases</h4>

<p><em>_.object</em></p>

</div><div id="wmd-preview-section-313" class="wmd-preview-section preview-content">

<h4 id="arguments-36">Arguments</h4>

<ol><li rel="1"><code>props</code> <em>(Array)</em>: The property names.</li>
<li rel="2"><code>[values=[]]</code> <em>(Array)</em>: The property values.</li>
</ol>

</div><div id="wmd-preview-section-314" class="wmd-preview-section preview-content">

<h4 id="returns-36">Returns</h4>

<p><em>(Object)</em>:  Returns the new object.</p>

</div><div id="wmd-preview-section-315" class="wmd-preview-section preview-content">

<h4 id="example-35">Example</h4>

</div><div id="wmd-preview-section-316" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.zipObject([[<span class="hljs-string">'fred'</span>, <span class="hljs-number">30</span>], [<span class="hljs-string">'barney'</span>, <span class="hljs-number">40</span>]]);<br><span class="hljs-comment">// =&gt; { 'fred': 30, 'barney': 40 }</span><br><br>_.zipObject([<span class="hljs-string">'fred'</span>, <span class="hljs-string">'barney'</span>], [<span class="hljs-number">30</span>, <span class="hljs-number">40</span>]);<br><span class="hljs-comment">// =&gt; { 'fred': 30, 'barney': 40 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-317" class="wmd-preview-section preview-content">

<h3 id="zipwitharrays-iteratee-thisarg"><a id="_zipwitharrays-iteratee-thisarg" href="http://undefined" target="_blank"></a><code>_.zipWith([arrays], [iteratee], [thisArg])</code></h3>

<p><a href="#_zipwitharrays-iteratee-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L5982" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.zipwith" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.zip</code> except that it accepts an iteratee to specify <br>
how grouped values should be combined. The <code>iteratee</code> is bound to <code>thisArg</code> <br>
and invoked with four arguments: (accumulator, value, index, group).</p>

</div><div id="wmd-preview-section-318" class="wmd-preview-section preview-content">

<h4 id="arguments-37">Arguments</h4>

<ol><li rel="1"><code>[arrays]</code> <em>(…Array)</em>: The arrays to process.</li>
<li rel="2"><code>[iteratee]</code> <em>(Function)</em>: The function to combine grouped values.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-319" class="wmd-preview-section preview-content">

<h4 id="returns-37">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of grouped elements.</p>

</div><div id="wmd-preview-section-320" class="wmd-preview-section preview-content">

<h4 id="example-36">Example</h4>

</div><div id="wmd-preview-section-321" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.zipWith([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>], [<span class="hljs-number">10</span>, <span class="hljs-number">20</span>], [<span class="hljs-number">100</span>, <span class="hljs-number">200</span>], _.add);<br><span class="hljs-comment">// =&gt; [111, 222]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-322" class="wmd-preview-section preview-content">

<h2 id="chain-methods"><code>“Chain” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-323" class="wmd-preview-section preview-content">

<h3 id="value"><a id="_value" href="http://undefined" target="_blank"></a><code>_(value)</code></h3>

<p><a href="#_value">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L944" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Creates a <code>lodash</code> object which wraps <code>value</code> to enable implicit chaining. <br>
Methods that operate on and return arrays, collections, and functions can <br>
be chained together. Methods that retrieve a single value or may return a <br>
primitive value will automatically end the chain returning the unwrapped <br>
value. Explicit chaining may be enabled using <code>_.chain</code>. The execution of <br>
chained methods is lazy, that is, execution is deferred until <code>_#value</code> <br>
is implicitly or explicitly called. <br>
<br>
<br>
Lazy evaluation allows several methods to support shortcut fusion. Shortcut <br>
fusion is an optimization strategy which merge iteratee calls; this can help <br>
to avoid the creation of intermediate data structures and greatly reduce the <br>
number of iteratee executions. <br>
<br>
<br>
Chaining is supported in custom builds as long as the <code>_#value</code> method is <br>
directly or indirectly included in the build. <br>
<br>
<br>
In addition to lodash methods, wrappers have <code>Array</code> and <code>String</code> methods. <br>
<br>
<br>
The wrapper <code>Array</code> methods are:<br>
<code>concat</code>, <code>join</code>, <code>pop</code>, <code>push</code>, <code>reverse</code>, <code>shift</code>, <code>slice</code>, <code>sort</code>, <br>
<code>splice</code>, and <code>unshift</code> <br>
<br>
<br>
The wrapper <code>String</code> methods are:<br>
<code>replace</code> and <code>split</code> <br>
<br>
<br>
The wrapper methods that support shortcut fusion are:<br>
<code>compact</code>, <code>drop</code>, <code>dropRight</code>, <code>dropRightWhile</code>, <code>dropWhile</code>, <code>filter</code>, <br>
<code>first</code>, <code>initial</code>, <code>last</code>, <code>map</code>, <code>pluck</code>, <code>reject</code>, <code>rest</code>, <code>reverse</code>, <br>
<code>slice</code>, <code>take</code>, <code>takeRight</code>, <code>takeRightWhile</code>, <code>takeWhile</code>, <code>toArray</code>, <br>
and <code>where</code> <br>
<br>
<br>
The chainable wrapper methods are:<br>
<code>after</code>, <code>ary</code>, <code>assign</code>, <code>at</code>, <code>before</code>, <code>bind</code>, <code>bindAll</code>, <code>bindKey</code>, <br>
<code>callback</code>, <code>chain</code>, <code>chunk</code>, <code>commit</code>, <code>compact</code>, <code>concat</code>, <code>constant</code>, <br>
<code>countBy</code>, <code>create</code>, <code>curry</code>, <code>debounce</code>, <code>defaults</code>, <code>defaultsDeep</code>, <br>
<code>defer</code>, <code>delay</code>, <code>difference</code>, <code>drop</code>, <code>dropRight</code>, <code>dropRightWhile</code>, <br>
<code>dropWhile</code>, <code>fill</code>, <code>filter</code>, <code>flatten</code>, <code>flattenDeep</code>, <code>flow</code>, <code>flowRight</code>, <br>
<code>forEach</code>, <code>forEachRight</code>, <code>forIn</code>, <code>forInRight</code>, <code>forOwn</code>, <code>forOwnRight</code>, <br>
<code>functions</code>, <code>groupBy</code>, <code>indexBy</code>, <code>initial</code>, <code>intersection</code>, <code>invert</code>, <br>
<code>invoke</code>, <code>keys</code>, <code>keysIn</code>, <code>map</code>, <code>mapKeys</code>, <code>mapValues</code>, <code>matches</code>, <br>
<code>matchesProperty</code>, <code>memoize</code>, <code>merge</code>, <code>method</code>, <code>methodOf</code>, <code>mixin</code>, <br>
<code>modArgs</code>, <code>negate</code>, <code>omit</code>, <code>once</code>, <code>pairs</code>, <code>partial</code>, <code>partialRight</code>, <br>
<code>partition</code>, <code>pick</code>, <code>plant</code>, <code>pluck</code>, <code>property</code>, <code>propertyOf</code>, <code>pull</code>, <br>
<code>pullAt</code>, <code>push</code>, <code>range</code>, <code>rearg</code>, <code>reject</code>, <code>remove</code>, <code>rest</code>, <code>restParam</code>, <br>
<code>reverse</code>, <code>set</code>, <code>shuffle</code>, <code>slice</code>, <code>sort</code>, <code>sortBy</code>, <code>sortByAll</code>, <br>
<code>sortByOrder</code>, <code>splice</code>, <code>spread</code>, <code>take</code>, <code>takeRight</code>, <code>takeRightWhile</code>, <br>
<code>takeWhile</code>, <code>tap</code>, <code>throttle</code>, <code>thru</code>, <code>times</code>, <code>toArray</code>, <code>toPlainObject</code>, <br>
<code>transform</code>, <code>union</code>, <code>uniq</code>, <code>unshift</code>, <code>unzip</code>, <code>unzipWith</code>, <code>values</code>, <br>
<code>valuesIn</code>, <code>where</code>, <code>without</code>, <code>wrap</code>, <code>xor</code>, <code>zip</code>, <code>zipObject</code>, <code>zipWith</code> <br>
<br>
<br>
The wrapper methods that are <strong>not</strong> chainable by default are:<br>
<code>add</code>, <code>attempt</code>, <code>camelCase</code>, <code>capitalize</code>, <code>ceil</code>, <code>clone</code>, <code>cloneDeep</code>, <br>
<code>deburr</code>, <code>endsWith</code>, <code>escape</code>, <code>escapeRegExp</code>, <code>every</code>, <code>find</code>, <code>findIndex</code>, <br>
<code>findKey</code>, <code>findLast</code>, <code>findLastIndex</code>, <code>findLastKey</code>, <code>findWhere</code>, <code>first</code>, <br>
<code>floor</code>, <code>get</code>, <code>gt</code>, <code>gte</code>, <code>has</code>, <code>identity</code>, <code>includes</code>, <code>indexOf</code>, <br>
<code>inRange</code>, <code>isArguments</code>, <code>isArray</code>, <code>isBoolean</code>, <code>isDate</code>, <code>isElement</code>, <br>
<code>isEmpty</code>, <code>isEqual</code>, <code>isError</code>, <code>isFinite</code> <code>isFunction</code>, <code>isMatch</code>, <br>
<code>isNative</code>, <code>isNaN</code>, <code>isNull</code>, <code>isNumber</code>, <code>isObject</code>, <code>isPlainObject</code>, <br>
<code>isRegExp</code>, <code>isString</code>, <code>isUndefined</code>, <code>isTypedArray</code>, <code>join</code>, <code>kebabCase</code>, <br>
<code>last</code>, <code>lastIndexOf</code>, <code>lt</code>, <code>lte</code>, <code>max</code>, <code>min</code>, <code>noConflict</code>, <code>noop</code>, <br>
<code>now</code>, <code>pad</code>, <code>padLeft</code>, <code>padRight</code>, <code>parseInt</code>, <code>pop</code>, <code>random</code>, <code>reduce</code>, <br>
<code>reduceRight</code>, <code>repeat</code>, <code>result</code>, <code>round</code>, <code>runInContext</code>, <code>shift</code>, <code>size</code>, <br>
<code>snakeCase</code>, <code>some</code>, <code>sortedIndex</code>, <code>sortedLastIndex</code>, <code>startCase</code>, <br>
<code>startsWith</code>, <code>sum</code>, <code>template</code>, <code>trim</code>, <code>trimLeft</code>, <code>trimRight</code>, <code>trunc</code>, <br>
<code>unescape</code>, <code>uniqueId</code>, <code>value</code>, and <code>words</code> <br>
<br>
<br>
The wrapper method <code>sample</code> will return a wrapped value when <code>n</code> is provided, <br>
otherwise an unwrapped value is returned.</p>

</div><div id="wmd-preview-section-324" class="wmd-preview-section preview-content">

<h4 id="arguments-38">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to wrap in a <code>lodash</code> instance.</li>
</ol>

</div><div id="wmd-preview-section-325" class="wmd-preview-section preview-content">

<h4 id="returns-38">Returns</h4>

<p><em>(Object)</em>:  Returns the new <code>lodash</code> wrapper instance.</p>

</div><div id="wmd-preview-section-326" class="wmd-preview-section preview-content">

<h4 id="example-37">Example</h4>

</div><div id="wmd-preview-section-327" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> wrapped = _([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><br><span class="hljs-comment">// returns an unwrapped value</span><br>wrapped.reduce(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(total, n)</span> </span>{<br>  <span class="hljs-keyword">return</span> total + n;<br>});<br><span class="hljs-comment">// =&gt; 6</span><br><br><span class="hljs-comment">// returns a wrapped value</span><br><span class="hljs-keyword">var</span> squares = wrapped.map(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n * n;<br>});<br><br>_.isArray(squares);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.isArray(squares.value());<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-328" class="wmd-preview-section preview-content">

<h3 id="chainvalue"><a id="_chainvalue" href="http://undefined" target="_blank"></a><code>_.chain(value)</code></h3>

<p><a href="#_chainvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6025" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Creates a <code>lodash</code> object that wraps <code>value</code> with explicit method <br>
chaining enabled.</p>

</div><div id="wmd-preview-section-329" class="wmd-preview-section preview-content">

<h4 id="arguments-39">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to wrap.</li>
</ol>

</div><div id="wmd-preview-section-330" class="wmd-preview-section preview-content">

<h4 id="returns-39">Returns</h4>

<p><em>(Object)</em>:  Returns the new <code>lodash</code> wrapper instance.</p>

</div><div id="wmd-preview-section-331" class="wmd-preview-section preview-content">

<h4 id="example-38">Example</h4>

</div><div id="wmd-preview-section-332" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span> }<br>];<br><br><span class="hljs-keyword">var</span> youngest = _.chain(users)<br>  .sortBy(<span class="hljs-string">'age'</span>)<br>  .map(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>    <span class="hljs-keyword">return</span> chr.user + <span class="hljs-string">' is '</span> + chr.age;<br>  })<br>  .first()<br>  .value();<br><span class="hljs-comment">// =&gt; 'pebbles is 1'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-333" class="wmd-preview-section preview-content">

<h3 id="tapvalue-interceptor-thisarg"><a id="_tapvalue-interceptor-thisarg" href="http://undefined" target="_blank"></a><code>_.tap(value, interceptor, [thisArg])</code></h3>

<p><a href="#_tapvalue-interceptor-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6054" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>This method invokes <code>interceptor</code> and returns <code>value</code>. The interceptor is <br>
bound to <code>thisArg</code> and invoked with one argument; (value). The purpose of <br>
this method is to “tap into” a method chain in order to perform operations <br>
on intermediate results within the chain.</p>

</div><div id="wmd-preview-section-334" class="wmd-preview-section preview-content">

<h4 id="arguments-40">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to provide to <code>interceptor</code>.</li>
<li rel="2"><code>interceptor</code> <em>(Function)</em>: The function to invoke.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>interceptor</code>.</li>
</ol>

</div><div id="wmd-preview-section-335" class="wmd-preview-section preview-content">

<h4 id="returns-40">Returns</h4>

<p><em>(*)</em>:  Returns <code>value</code>.</p>

</div><div id="wmd-preview-section-336" class="wmd-preview-section preview-content">

<h4 id="example-39">Example</h4>

</div><div id="wmd-preview-section-337" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>])<br> .tap(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(array)</span> </span>{<br>   array.pop();<br> })<br> .reverse()<br> .value();<br><span class="hljs-comment">// =&gt; [2, 1]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-338" class="wmd-preview-section preview-content">

<h3 id="thruvalue-interceptor-thisarg"><a id="_thruvalue-interceptor-thisarg" href="http://undefined" target="_blank"></a><code>_.thru(value, interceptor, [thisArg])</code></h3>

<p><a href="#_thruvalue-interceptor-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6080" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>This method is like <code>_.tap</code> except that it returns the result of <code>interceptor</code>.</p>

</div><div id="wmd-preview-section-339" class="wmd-preview-section preview-content">

<h4 id="arguments-41">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to provide to <code>interceptor</code>.</li>
<li rel="2"><code>interceptor</code> <em>(Function)</em>: The function to invoke.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>interceptor</code>.</li>
</ol>

</div><div id="wmd-preview-section-340" class="wmd-preview-section preview-content">

<h4 id="returns-41">Returns</h4>

<p><em>(*)</em>:  Returns the result of <code>interceptor</code>.</p>

</div><div id="wmd-preview-section-341" class="wmd-preview-section preview-content">

<h4 id="example-40">Example</h4>

</div><div id="wmd-preview-section-342" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_(<span class="hljs-string">'  abc  '</span>)<br> .chain()<br> .trim()<br> .thru(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value)</span> </span>{<br>   <span class="hljs-keyword">return</span> [value];<br> })<br> .value();<br><span class="hljs-comment">// =&gt; ['abc']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-343" class="wmd-preview-section preview-content">

<h3 id="prototypechain"><a id="_prototypechain" href="http://undefined" target="_blank"></a><code>_.prototype.chain()</code></h3>

<p><a href="#_prototypechain">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6109" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Enables explicit method chaining on the wrapper object.</p>

</div><div id="wmd-preview-section-344" class="wmd-preview-section preview-content">

<h4 id="returns-42">Returns</h4>

<p><em>(Object)</em>:  Returns the new <code>lodash</code> wrapper instance.</p>

</div><div id="wmd-preview-section-345" class="wmd-preview-section preview-content">

<h4 id="example-41">Example</h4>

</div><div id="wmd-preview-section-346" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> }<br>];<br><br><span class="hljs-comment">// without explicit chaining</span><br>_(users).first();<br><span class="hljs-comment">// =&gt; { 'user': 'barney', 'age': 36 }</span><br><br><span class="hljs-comment">// with explicit chaining</span><br>_(users).chain()<br>  .first()<br>  .pick(<span class="hljs-string">'user'</span>)<br>  .value();<br><span class="hljs-comment">// =&gt; { 'user': 'barney' }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-347" class="wmd-preview-section preview-content">

<h3 id="prototypecommit"><a id="_prototypecommit" href="http://undefined" target="_blank"></a><code>_.prototype.commit()</code></h3>

<p><a href="#_prototypecommit">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6138" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Executes the chained sequence and returns the wrapped result.</p>

</div><div id="wmd-preview-section-348" class="wmd-preview-section preview-content">

<h4 id="returns-43">Returns</h4>

<p><em>(Object)</em>:  Returns the new <code>lodash</code> wrapper instance.</p>

</div><div id="wmd-preview-section-349" class="wmd-preview-section preview-content">

<h4 id="example-42">Example</h4>

</div><div id="wmd-preview-section-350" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>];<br><span class="hljs-keyword">var</span> wrapped = _(array).push(<span class="hljs-number">3</span>);<br><br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; [1, 2]</span><br><br>wrapped = wrapped.commit();<br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br>wrapped.last();<br><span class="hljs-comment">// =&gt; 3</span><br><br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-351" class="wmd-preview-section preview-content">

<h3 id="prototypeconcatvalues"><a id="_prototypeconcatvalues" href="http://undefined" target="_blank"></a><code>_.prototype.concat([values])</code></h3>

<p><a href="#_prototypeconcatvalues">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6162" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Creates a new array joining a wrapped array with any additional arrays <br>
and/or values.</p>

</div><div id="wmd-preview-section-352" class="wmd-preview-section preview-content">

<h4 id="arguments-42">Arguments</h4>

<ol start="1"><li rel="1"><code>[values]</code> <em>(…*)</em>: The values to concatenate.</li>
</ol>

</div><div id="wmd-preview-section-353" class="wmd-preview-section preview-content">

<h4 id="returns-44">Returns</h4>

<p><em>(Array)</em>:  Returns the new concatenated array.</p>

</div><div id="wmd-preview-section-354" class="wmd-preview-section preview-content">

<h4 id="example-43">Example</h4>

</div><div id="wmd-preview-section-355" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">1</span>];<br><span class="hljs-keyword">var</span> wrapped = _(array).concat(<span class="hljs-number">2</span>, [<span class="hljs-number">3</span>], [[<span class="hljs-number">4</span>]]);<br><br><span class="hljs-built_in">console</span>.log(wrapped.value());<br><span class="hljs-comment">// =&gt; [1, 2, 3, [4]]</span><br><br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; [1]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-356" class="wmd-preview-section preview-content">

<h3 id="prototypeplant"><a id="_prototypeplant" href="http://undefined" target="_blank"></a><code>_.prototype.plant()</code></h3>

<p><a href="#_prototypeplant">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6192" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Creates a clone of the chained sequence planting <code>value</code> as the wrapped value.</p>

</div><div id="wmd-preview-section-357" class="wmd-preview-section preview-content">

<h4 id="returns-45">Returns</h4>

<p><em>(Object)</em>:  Returns the new <code>lodash</code> wrapper instance.</p>

</div><div id="wmd-preview-section-358" class="wmd-preview-section preview-content">

<h4 id="example-44">Example</h4>

</div><div id="wmd-preview-section-359" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>];<br><span class="hljs-keyword">var</span> wrapped = _(array).map(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-built_in">Math</span>.pow(value, <span class="hljs-number">2</span>);<br>});<br><br><span class="hljs-keyword">var</span> other = [<span class="hljs-number">3</span>, <span class="hljs-number">4</span>];<br><span class="hljs-keyword">var</span> otherWrapped = wrapped.plant(other);<br><br>otherWrapped.value();<br><span class="hljs-comment">// =&gt; [9, 16]</span><br><br>wrapped.value();<br><span class="hljs-comment">// =&gt; [1, 4]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-360" class="wmd-preview-section preview-content">

<h3 id="prototypereverse"><a id="_prototypereverse" href="http://undefined" target="_blank"></a><code>_.prototype.reverse()</code></h3>

<p><a href="#_prototypereverse">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6230" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Reverses the wrapped array so the first element becomes the last, the <br>
second element becomes the second to last, and so on. <br>
<br>
<br>
<strong>Note:</strong> This method mutates the wrapped array.</p>

</div><div id="wmd-preview-section-361" class="wmd-preview-section preview-content">

<h4 id="returns-46">Returns</h4>

<p><em>(Object)</em>:  Returns the new reversed <code>lodash</code> wrapper instance.</p>

</div><div id="wmd-preview-section-362" class="wmd-preview-section preview-content">

<h4 id="example-45">Example</h4>

</div><div id="wmd-preview-section-363" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>];<br><br>_(array).reverse().value()<br><span class="hljs-comment">// =&gt; [3, 2, 1]</span><br><br><span class="hljs-built_in">console</span>.log(array);<br><span class="hljs-comment">// =&gt; [3, 2, 1]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-364" class="wmd-preview-section preview-content">

<h3 id="prototypetostring"><a id="_prototypetostring" href="http://undefined" target="_blank"></a><code>_.prototype.toString()</code></h3>

<p><a href="#_prototypetostring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6260" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Produces the result of coercing the unwrapped value to a string.</p>

</div><div id="wmd-preview-section-365" class="wmd-preview-section preview-content">

<h4 id="returns-47">Returns</h4>

<p><em>(string)</em>:  Returns the coerced string value.</p>

</div><div id="wmd-preview-section-366" class="wmd-preview-section preview-content">

<h4 id="example-46">Example</h4>

</div><div id="wmd-preview-section-367" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]).toString();<br><span class="hljs-comment">// =&gt; '1,2,3'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-368" class="wmd-preview-section preview-content">

<h3 id="prototypevalue"><a id="_prototypevalue" href="http://undefined" target="_blank"></a><code>_.prototype.value()</code></h3>

<p><a href="#_prototypevalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6277" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>Executes the chained sequence to extract the unwrapped value.</p>

</div><div id="wmd-preview-section-369" class="wmd-preview-section preview-content">

<h4 id="aliases-4">Aliases</h4>

<p><em>_.prototype.run, _.prototype.toJSON, _.prototype.valueOf</em></p>

</div><div id="wmd-preview-section-370" class="wmd-preview-section preview-content">

<h4 id="returns-48">Returns</h4>

<p><em>(*)</em>:  Returns the resolved unwrapped value.</p>

</div><div id="wmd-preview-section-371" class="wmd-preview-section preview-content">

<h4 id="example-47">Example</h4>

</div><div id="wmd-preview-section-372" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]).value();<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-373" class="wmd-preview-section preview-content">

<h2 id="collection-methods"><code>“Collection” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-374" class="wmd-preview-section preview-content">

<h3 id="atcollection-props"><a id="_atcollection-props" href="http://undefined" target="_blank"></a><code>_.at(collection, [props])</code></h3>

<p><a href="#_atcollection-props">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6303" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.at" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of elements corresponding to the given keys, or indexes, <br>
of <code>collection</code>. Keys may be specified as individual arguments or as arrays <br>
of keys.</p>

</div><div id="wmd-preview-section-375" class="wmd-preview-section preview-content">

<h4 id="arguments-43">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[props]</code> <em>(…(number|number[]|string|string[])</em>: The property names or indexes of elements to pick, specified individually or in arrays.</li>
</ol>

</div><div id="wmd-preview-section-376" class="wmd-preview-section preview-content">

<h4 id="returns-49">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of picked elements.</p>

</div><div id="wmd-preview-section-377" class="wmd-preview-section preview-content">

<h4 id="example-48">Example</h4>

</div><div id="wmd-preview-section-378" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.at([<span class="hljs-string">'a'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-string">'c'</span>], [<span class="hljs-number">0</span>, <span class="hljs-number">2</span>]);<br><span class="hljs-comment">// =&gt; ['a', 'c']</span><br><br>_.at([<span class="hljs-string">'barney'</span>, <span class="hljs-string">'fred'</span>, <span class="hljs-string">'pebbles'</span>], <span class="hljs-number">0</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; ['barney', 'pebbles']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-379" class="wmd-preview-section preview-content">

<h3 id="countbycollection-iterateeidentity-thisarg"><a id="_countbycollection-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.countBy(collection, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_countbycollection-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6351" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.countby" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an object composed of keys generated from the results of running <br>
each element of <code>collection</code> through <code>iteratee</code>. The corresponding value <br>
of each key is the number of times the key was returned by <code>iteratee</code>. <br>
The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with three arguments:<br>
(value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-380" class="wmd-preview-section preview-content">

<h4 id="arguments-44">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-381" class="wmd-preview-section preview-content">

<h4 id="returns-50">Returns</h4>

<p><em>(Object)</em>:  Returns the composed aggregate object.</p>

</div><div id="wmd-preview-section-382" class="wmd-preview-section preview-content">

<h4 id="example-49">Example</h4>

</div><div id="wmd-preview-section-383" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.countBy([<span class="hljs-number">4.3</span>, <span class="hljs-number">6.1</span>, <span class="hljs-number">6.4</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-built_in">Math</span>.floor(n);<br>});<br><span class="hljs-comment">// =&gt; { '4': 1, '6': 2 }</span><br><br>_.countBy([<span class="hljs-number">4.3</span>, <span class="hljs-number">6.1</span>, <span class="hljs-number">6.4</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.floor(n);<br>}, <span class="hljs-built_in">Math</span>);<br><span class="hljs-comment">// =&gt; { '4': 1, '6': 2 }</span><br><br>_.countBy([<span class="hljs-string">'one'</span>, <span class="hljs-string">'two'</span>, <span class="hljs-string">'three'</span>], <span class="hljs-string">'length'</span>);<br><span class="hljs-comment">// =&gt; { '3': 2, '5': 1 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-384" class="wmd-preview-section preview-content">

<h3 id="everycollection-predicateidentity-thisarg"><a id="_everycollection-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.every(collection, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_everycollection-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6403" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.every" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>predicate</code> returns truthy for <strong>all</strong> elements of <code>collection</code>. <br>
The predicate is bound to <code>thisArg</code> and invoked with three arguments:<br>
(value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-385" class="wmd-preview-section preview-content">

<h4 id="aliases-5">Aliases</h4>

<p><em>_.all</em></p>

</div><div id="wmd-preview-section-386" class="wmd-preview-section preview-content">

<h4 id="arguments-45">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-387" class="wmd-preview-section preview-content">

<h4 id="returns-51">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if all elements pass the predicate check, <br>
else <code>false</code>.</p>

</div><div id="wmd-preview-section-388" class="wmd-preview-section preview-content">

<h4 id="example-50">Example</h4>

</div><div id="wmd-preview-section-389" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.every([<span class="hljs-literal">true</span>, <span class="hljs-number">1</span>, <span class="hljs-literal">null</span>, <span class="hljs-string">'yes'</span>], <span class="hljs-built_in">Boolean</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.every(users, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> });<br><span class="hljs-comment">// =&gt; false</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.every(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.every(users, <span class="hljs-string">'active'</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-390" class="wmd-preview-section preview-content">

<h3 id="filtercollection-predicateidentity-thisarg"><a id="_filtercollection-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.filter(collection, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_filtercollection-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6463" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.filter" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Iterates over elements of <code>collection</code>, returning an array of all elements <br>
<code>predicate</code> returns truthy for. The predicate is bound to <code>thisArg</code> and <br>
invoked with three arguments: (value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-391" class="wmd-preview-section preview-content">

<h4 id="aliases-6">Aliases</h4>

<p><em>_.select</em></p>

</div><div id="wmd-preview-section-392" class="wmd-preview-section preview-content">

<h4 id="arguments-46">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-393" class="wmd-preview-section preview-content">

<h4 id="returns-52">Returns</h4>

<p><em>(Array)</em>:  Returns the new filtered array.</p>

</div><div id="wmd-preview-section-394" class="wmd-preview-section preview-content">

<h4 id="example-51">Example</h4>

</div><div id="wmd-preview-section-395" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.filter([<span class="hljs-number">4</span>, <span class="hljs-number">5</span>, <span class="hljs-number">6</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n % <span class="hljs-number">2</span> == <span class="hljs-number">0</span>;<br>});<br><span class="hljs-comment">// =&gt; [4, 6]</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.pluck(_.filter(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney']</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.pluck(_.filter(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['fred']</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.pluck(_.filter(users, <span class="hljs-string">'active'</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-396" class="wmd-preview-section preview-content">

<h3 id="findcollection-predicateidentity-thisarg"><a id="_findcollection-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.find(collection, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_findcollection-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6519" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.find" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Iterates over elements of <code>collection</code>, returning the first element <br>
<code>predicate</code> returns truthy for. The predicate is bound to <code>thisArg</code> and <br>
invoked with three arguments: (value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-397" class="wmd-preview-section preview-content">

<h4 id="aliases-7">Aliases</h4>

<p><em>_.detect</em></p>

</div><div id="wmd-preview-section-398" class="wmd-preview-section preview-content">

<h4 id="arguments-47">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to search.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-399" class="wmd-preview-section preview-content">

<h4 id="returns-53">Returns</h4>

<p><em>(*)</em>:  Returns the matched element, else <code>undefined</code>.</p>

</div><div id="wmd-preview-section-400" class="wmd-preview-section preview-content">

<h4 id="example-52">Example</h4>

</div><div id="wmd-preview-section-401" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }<br>];<br><br>_.result(_.find(users, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>  <span class="hljs-keyword">return</span> chr.age &lt; <span class="hljs-number">40</span>;<br>}), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; 'barney'</span><br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.result(_.find(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; 'pebbles'</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.result(_.find(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; 'fred'</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.result(_.find(users, <span class="hljs-string">'active'</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; 'barney'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-402" class="wmd-preview-section preview-content">

<h3 id="findlastcollection-predicateidentity-thisarg"><a id="_findlastcollection-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.findLast(collection, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_findlastcollection-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6540" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.findlast" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.find</code> except that it iterates over elements of <br>
<code>collection</code> from right to left.</p>

</div><div id="wmd-preview-section-403" class="wmd-preview-section preview-content">

<h4 id="arguments-48">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to search.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-404" class="wmd-preview-section preview-content">

<h4 id="returns-54">Returns</h4>

<p><em>(*)</em>:  Returns the matched element, else <code>undefined</code>.</p>

</div><div id="wmd-preview-section-405" class="wmd-preview-section preview-content">

<h4 id="example-53">Example</h4>

</div><div id="wmd-preview-section-406" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.findLast([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n % <span class="hljs-number">2</span> == <span class="hljs-number">1</span>;<br>});<br><span class="hljs-comment">// =&gt; 3</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-407" class="wmd-preview-section preview-content">

<h3 id="findwherecollection-source"><a id="_findwherecollection-source" href="http://undefined" target="_blank"></a><code>_.findWhere(collection, source)</code></h3>

<p><a href="#_findwherecollection-source">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6571" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.findwhere" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Performs a deep comparison between each element in <code>collection</code> and the <br>
source object, returning the first element that has equivalent property <br>
values. <br>
<br>
<br>
<strong>Note:</strong> This method supports comparing arrays, booleans, <code>Date</code> objects, <br>
numbers, <code>Object</code> objects, regexes, and strings. Objects are compared by <br>
their own, not inherited, enumerable properties. For comparing a single <br>
own or inherited property value see <code>_.matchesProperty</code>.</p>

</div><div id="wmd-preview-section-408" class="wmd-preview-section preview-content">

<h4 id="arguments-49">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to search.</li>
<li rel="2"><code>source</code> <em>(Object)</em>: The object of property values to match.</li>
</ol>

</div><div id="wmd-preview-section-409" class="wmd-preview-section preview-content">

<h4 id="returns-55">Returns</h4>

<p><em>(*)</em>:  Returns the matched element, else <code>undefined</code>.</p>

</div><div id="wmd-preview-section-410" class="wmd-preview-section preview-content">

<h4 id="example-54">Example</h4>

</div><div id="wmd-preview-section-411" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br>_.result(_.findWhere(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; 'barney'</span><br><br>_.result(_.findWhere(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; 'fred'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-412" class="wmd-preview-section preview-content">

<h3 id="foreachcollection-iterateeidentity-thisarg"><a id="_foreachcollection-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.forEach(collection, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_foreachcollection-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6605" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.foreach" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Iterates over elements of <code>collection</code> invoking <code>iteratee</code> for each element. <br>
The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with three arguments:<br>
(value, index|key, collection). Iteratee functions may exit iteration early <br>
by explicitly returning <code>false</code>. <br>
<br>
<br>
<strong>Note:</strong> As with other “Collections” methods, objects with a “length” property <br>
are iterated like arrays. To avoid this behavior <code>_.forIn</code> or <code>_.forOwn</code> <br>
may be used for object iteration.</p>

</div><div id="wmd-preview-section-413" class="wmd-preview-section preview-content">

<h4 id="aliases-8">Aliases</h4>

<p><em>_.each</em></p>

</div><div id="wmd-preview-section-414" class="wmd-preview-section preview-content">

<h4 id="arguments-50">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-415" class="wmd-preview-section preview-content">

<h4 id="returns-56">Returns</h4>

<p><em>(Array|Object|string)</em>:  Returns <code>collection</code>.</p>

</div><div id="wmd-preview-section-416" class="wmd-preview-section preview-content">

<h4 id="example-55">Example</h4>

</div><div id="wmd-preview-section-417" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>]).forEach(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(n);<br>}).value();<br><span class="hljs-comment">// =&gt; logs each value from left to right and returns the array</span><br><br>_.forEach({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">2</span> }, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n, key)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(n, key);<br>});<br><span class="hljs-comment">// =&gt; logs each value-key pair and returns the object (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-418" class="wmd-preview-section preview-content">

<h3 id="foreachrightcollection-iterateeidentity-thisarg"><a id="_foreachrightcollection-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.forEachRight(collection, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_foreachrightcollection-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6626" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.foreachright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.forEach</code> except that it iterates over elements of <br>
<code>collection</code> from right to left.</p>

</div><div id="wmd-preview-section-419" class="wmd-preview-section preview-content">

<h4 id="aliases-9">Aliases</h4>

<p><em>_.eachRight</em></p>

</div><div id="wmd-preview-section-420" class="wmd-preview-section preview-content">

<h4 id="arguments-51">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-421" class="wmd-preview-section preview-content">

<h4 id="returns-57">Returns</h4>

<p><em>(Array|Object|string)</em>:  Returns <code>collection</code>.</p>

</div><div id="wmd-preview-section-422" class="wmd-preview-section preview-content">

<h4 id="example-56">Example</h4>

</div><div id="wmd-preview-section-423" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>]).forEachRight(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(n);<br>}).value();<br><span class="hljs-comment">// =&gt; logs each value from right to left and returns the array</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-424" class="wmd-preview-section preview-content">

<h3 id="groupbycollection-iterateeidentity-thisarg"><a id="_groupbycollection-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.groupBy(collection, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_groupbycollection-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6670" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.groupby" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an object composed of keys generated from the results of running <br>
each element of <code>collection</code> through <code>iteratee</code>. The corresponding value <br>
of each key is an array of the elements responsible for generating the key. <br>
The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with three arguments:<br>
(value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-425" class="wmd-preview-section preview-content">

<h4 id="arguments-52">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-426" class="wmd-preview-section preview-content">

<h4 id="returns-58">Returns</h4>

<p><em>(Object)</em>:  Returns the composed aggregate object.</p>

</div><div id="wmd-preview-section-427" class="wmd-preview-section preview-content">

<h4 id="example-57">Example</h4>

</div><div id="wmd-preview-section-428" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.groupBy([<span class="hljs-number">4.2</span>, <span class="hljs-number">6.1</span>, <span class="hljs-number">6.4</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-built_in">Math</span>.floor(n);<br>});<br><span class="hljs-comment">// =&gt; { '4': [4.2], '6': [6.1, 6.4] }</span><br><br>_.groupBy([<span class="hljs-number">4.2</span>, <span class="hljs-number">6.1</span>, <span class="hljs-number">6.4</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.floor(n);<br>}, <span class="hljs-built_in">Math</span>);<br><span class="hljs-comment">// =&gt; { '4': [4.2], '6': [6.1, 6.4] }</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.groupBy([<span class="hljs-string">'one'</span>, <span class="hljs-string">'two'</span>, <span class="hljs-string">'three'</span>], <span class="hljs-string">'length'</span>);<br><span class="hljs-comment">// =&gt; { '3': ['one', 'two'], '5': ['three'] }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-429" class="wmd-preview-section preview-content">

<h3 id="includescollection-target-fromindex0"><a id="_includescollection-target-fromindex0" href="http://undefined" target="_blank"></a><code>_.includes(collection, target, [fromIndex=0])</code></h3>

<p><a href="#_includescollection-target-fromindex0">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6707" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.includes" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>target</code> is in <code>collection</code> using <br>
<a href="http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero" target="_blank"><code>SameValueZero</code></a> <br>
for equality comparisons. If <code>fromIndex</code> is negative, it’s used as the offset <br>
from the end of <code>collection</code>.</p>

</div><div id="wmd-preview-section-430" class="wmd-preview-section preview-content">

<h4 id="aliases-10">Aliases</h4>

<p><em>_.contains, _.include</em></p>

</div><div id="wmd-preview-section-431" class="wmd-preview-section preview-content">

<h4 id="arguments-53">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to search.</li>
<li rel="2"><code>target</code> <em>(*)</em>: The value to search for.</li>
<li rel="3"><code>[fromIndex=0]</code> <em>(number)</em>: The index to search from.</li>
</ol>

</div><div id="wmd-preview-section-432" class="wmd-preview-section preview-content">

<h4 id="returns-59">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if a matching element is found, else <code>false</code>.</p>

</div><div id="wmd-preview-section-433" class="wmd-preview-section preview-content">

<h4 id="example-58">Example</h4>

</div><div id="wmd-preview-section-434" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.includes([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.includes([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-number">1</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.includes({ <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> }, <span class="hljs-string">'fred'</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.includes(<span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'eb'</span>);<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-435" class="wmd-preview-section preview-content">

<h3 id="indexbycollection-iterateeidentity-thisarg"><a id="_indexbycollection-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.indexBy(collection, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_indexbycollection-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6769" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.indexby" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an object composed of keys generated from the results of running <br>
each element of <code>collection</code> through <code>iteratee</code>. The corresponding value <br>
of each key is the last element responsible for generating the key. The <br>
iteratee function is bound to <code>thisArg</code> and invoked with three arguments:<br>
(value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-436" class="wmd-preview-section preview-content">

<h4 id="arguments-54">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-437" class="wmd-preview-section preview-content">

<h4 id="returns-60">Returns</h4>

<p><em>(Object)</em>:  Returns the composed aggregate object.</p>

</div><div id="wmd-preview-section-438" class="wmd-preview-section preview-content">

<h4 id="example-59">Example</h4>

</div><div id="wmd-preview-section-439" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> keyData = [<br>  { <span class="hljs-string">'dir'</span>: <span class="hljs-string">'left'</span>, <span class="hljs-string">'code'</span>: <span class="hljs-number">97</span> },<br>  { <span class="hljs-string">'dir'</span>: <span class="hljs-string">'right'</span>, <span class="hljs-string">'code'</span>: <span class="hljs-number">100</span> }<br>];<br><br>_.indexBy(keyData, <span class="hljs-string">'dir'</span>);<br><span class="hljs-comment">// =&gt; { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }</span><br><br>_.indexBy(keyData, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(object)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-built_in">String</span>.fromCharCode(object.code);<br>});<br><span class="hljs-comment">// =&gt; { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }</span><br><br>_.indexBy(keyData, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(object)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.fromCharCode(object.code);<br>}, <span class="hljs-built_in">String</span>);<br><span class="hljs-comment">// =&gt; { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-440" class="wmd-preview-section preview-content">

<h3 id="invokecollection-path-args"><a id="_invokecollection-path-args" href="http://undefined" target="_blank"></a><code>_.invoke(collection, path, [args])</code></h3>

<p><a href="#_invokecollection-path-args">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6795" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.invoke" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Invokes the method at <code>path</code> of each element in <code>collection</code>, returning <br>
an array of the results of each invoked method. Any additional arguments <br>
are provided to each invoked method. If <code>methodName</code> is a function it’s <br>
invoked for, and <code>this</code> bound to, each element in <code>collection</code>.</p>

</div><div id="wmd-preview-section-441" class="wmd-preview-section preview-content">

<h4 id="arguments-55">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>path</code> <em>(Array|Function|string)</em>: The path of the method to invoke or the function invoked per iteration.</li>
<li rel="3"><code>[args]</code> <em>(…*)</em>: The arguments to invoke the method with.</li>
</ol>

</div><div id="wmd-preview-section-442" class="wmd-preview-section preview-content">

<h4 id="returns-61">Returns</h4>

<p><em>(Array)</em>:  Returns the array of results.</p>

</div><div id="wmd-preview-section-443" class="wmd-preview-section preview-content">

<h4 id="example-60">Example</h4>

</div><div id="wmd-preview-section-444" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.invoke([[<span class="hljs-number">5</span>, <span class="hljs-number">1</span>, <span class="hljs-number">7</span>], [<span class="hljs-number">3</span>, <span class="hljs-number">2</span>, <span class="hljs-number">1</span>]], <span class="hljs-string">'sort'</span>);<br><span class="hljs-comment">// =&gt; [[1, 5, 7], [1, 2, 3]]</span><br><br>_.invoke([<span class="hljs-number">123</span>, <span class="hljs-number">456</span>], <span class="hljs-built_in">String</span>.prototype.split, <span class="hljs-string">''</span>);<br><span class="hljs-comment">// =&gt; [['1', '2', '3'], ['4', '5', '6']]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-445" class="wmd-preview-section preview-content">

<h3 id="mapcollection-iterateeidentity-thisarg"><a id="_mapcollection-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.map(collection, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_mapcollection-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6864" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.map" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of values by running each element in <code>collection</code> through <br>
<code>iteratee</code>. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with three <br>
arguments: (value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>. <br>
<br>
<br>
Many lodash methods are guarded to work as iteratees for methods like <br>
<code>_.every</code>, <code>_.filter</code>, <code>_.map</code>, <code>_.mapValues</code>, <code>_.reject</code>, and <code>_.some</code>. <br>
<br>
<br>
The guarded methods are:<br>
<code>ary</code>, <code>callback</code>, <code>chunk</code>, <code>clone</code>, <code>create</code>, <code>curry</code>, <code>curryRight</code>, <br>
<code>drop</code>, <code>dropRight</code>, <code>every</code>, <code>fill</code>, <code>flatten</code>, <code>invert</code>, <code>max</code>, <code>min</code>, <br>
<code>parseInt</code>, <code>slice</code>, <code>sortBy</code>, <code>take</code>, <code>takeRight</code>, <code>template</code>, <code>trim</code>, <br>
<code>trimLeft</code>, <code>trimRight</code>, <code>trunc</code>, <code>random</code>, <code>range</code>, <code>sample</code>, <code>some</code>, <br>
<code>sum</code>, <code>uniq</code>, and <code>words</code></p>

</div><div id="wmd-preview-section-446" class="wmd-preview-section preview-content">

<h4 id="aliases-11">Aliases</h4>

<p><em>_.collect</em></p>

</div><div id="wmd-preview-section-447" class="wmd-preview-section preview-content">

<h4 id="arguments-56">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-448" class="wmd-preview-section preview-content">

<h4 id="returns-62">Returns</h4>

<p><em>(Array)</em>:  Returns the new mapped array.</p>

</div><div id="wmd-preview-section-449" class="wmd-preview-section preview-content">

<h4 id="example-61">Example</h4>

</div><div id="wmd-preview-section-450" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">timesThree</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n * <span class="hljs-number">3</span>;<br>}<br><br>_.map([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>], timesThree);<br><span class="hljs-comment">// =&gt; [3, 6]</span><br><br>_.map({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">2</span> }, timesThree);<br><span class="hljs-comment">// =&gt; [3, 6] (iteration order is not guaranteed)</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> }<br>];<br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.map(users, <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney', 'fred']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-451" class="wmd-preview-section preview-content">

<h3 id="partitioncollection-predicateidentity-thisarg"><a id="_partitioncollection-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.partition(collection, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_partitioncollection-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6929" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.partition" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of elements split into two groups, the first of which <br>
contains elements <code>predicate</code> returns truthy for, while the second of which <br>
contains elements <code>predicate</code> returns falsey for. The predicate is bound <br>
to <code>thisArg</code> and invoked with three arguments: (value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-452" class="wmd-preview-section preview-content">

<h4 id="arguments-57">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-453" class="wmd-preview-section preview-content">

<h4 id="returns-63">Returns</h4>

<p><em>(Array)</em>:  Returns the array of grouped elements.</p>

</div><div id="wmd-preview-section-454" class="wmd-preview-section preview-content">

<h4 id="example-62">Example</h4>

</div><div id="wmd-preview-section-455" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.partition([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n % <span class="hljs-number">2</span>;<br>});<br><span class="hljs-comment">// =&gt; [[1, 3], [2]]</span><br><br>_.partition([<span class="hljs-number">1.2</span>, <span class="hljs-number">2.3</span>, <span class="hljs-number">3.4</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.floor(n) % <span class="hljs-number">2</span>;<br>}, <span class="hljs-built_in">Math</span>);<br><span class="hljs-comment">// =&gt; [[1.2, 3.4], [2.3]]</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>,  <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br><span class="hljs-keyword">var</span> mapper = <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(array)</span> </span>{<br>  <span class="hljs-keyword">return</span> _.pluck(array, <span class="hljs-string">'user'</span>);<br>};<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.map(_.partition(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }), mapper);<br><span class="hljs-comment">// =&gt; [['pebbles'], ['barney', 'fred']]</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.map(_.partition(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>), mapper);<br><span class="hljs-comment">// =&gt; [['barney', 'pebbles'], ['fred']]</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.map(_.partition(users, <span class="hljs-string">'active'</span>), mapper);<br><span class="hljs-comment">// =&gt; [['fred'], ['barney', 'pebbles']]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-456" class="wmd-preview-section preview-content">

<h3 id="pluckcollection-path"><a id="_pluckcollection-path" href="http://undefined" target="_blank"></a><code>_.pluck(collection, path)</code></h3>

<p><a href="#_pluckcollection-path">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6956" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.pluck" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the property value of <code>path</code> from all elements in <code>collection</code>.</p>

</div><div id="wmd-preview-section-457" class="wmd-preview-section preview-content">

<h4 id="arguments-58">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>path</code> <em>(Array|string)</em>: The path of the property to pluck.</li>
</ol>

</div><div id="wmd-preview-section-458" class="wmd-preview-section preview-content">

<h4 id="returns-64">Returns</h4>

<p><em>(Array)</em>:  Returns the property values.</p>

</div><div id="wmd-preview-section-459" class="wmd-preview-section preview-content">

<h4 id="example-63">Example</h4>

</div><div id="wmd-preview-section-460" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> }<br>];<br><br>_.pluck(users, <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney', 'fred']</span><br><br><span class="hljs-keyword">var</span> userIndex = _.indexBy(users, <span class="hljs-string">'user'</span>);<br>_.pluck(userIndex, <span class="hljs-string">'age'</span>);<br><span class="hljs-comment">// =&gt; [36, 40] (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-461" class="wmd-preview-section preview-content">

<h3 id="reducecollection-iterateeidentity-accumulator-thisarg"><a id="_reducecollection-iteratee_identity-accumulator-thisarg" href="http://undefined" target="_blank"></a><code>_.reduce(collection, [iteratee=_.identity], [accumulator], [thisArg])</code></h3>

<p><a href="#_reducecollection-iteratee_identity-accumulator-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L6997" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.reduce" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Reduces <code>collection</code> to a value which is the accumulated result of running <br>
each element in <code>collection</code> through <code>iteratee</code>, where each successive <br>
invocation is supplied the return value of the previous. If <code>accumulator</code> <br>
is not provided the first element of <code>collection</code> is used as the initial <br>
value. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with four arguments:<br>
(accumulator, value, index|key, collection). <br>
<br>
<br>
Many lodash methods are guarded to work as iteratees for methods like <br>
<code>_.reduce</code>, <code>_.reduceRight</code>, and <code>_.transform</code>. <br>
<br>
<br>
The guarded methods are:<br>
<code>assign</code>, <code>defaults</code>, <code>defaultsDeep</code>, <code>includes</code>, <code>merge</code>, <code>sortByAll</code>, <br>
and <code>sortByOrder</code></p>

</div><div id="wmd-preview-section-462" class="wmd-preview-section preview-content">

<h4 id="aliases-12">Aliases</h4>

<p><em>_.foldl, _.inject</em></p>

</div><div id="wmd-preview-section-463" class="wmd-preview-section preview-content">

<h4 id="arguments-59">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[accumulator]</code> <em>(*)</em>: The initial value.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-464" class="wmd-preview-section preview-content">

<h4 id="returns-65">Returns</h4>

<p><em>(*)</em>:  Returns the accumulated value.</p>

</div><div id="wmd-preview-section-465" class="wmd-preview-section preview-content">

<h4 id="example-64">Example</h4>

</div><div id="wmd-preview-section-466" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.reduce([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(total, n)</span> </span>{<br>  <span class="hljs-keyword">return</span> total + n;<br>});<br><span class="hljs-comment">// =&gt; 3</span><br><br>_.reduce({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">2</span> }, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(result, n, key)</span> </span>{<br>  result[key] = n * <span class="hljs-number">3</span>;<br>  <span class="hljs-keyword">return</span> result;<br>}, {});<br><span class="hljs-comment">// =&gt; { 'a': 3, 'b': 6 } (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-467" class="wmd-preview-section preview-content">

<h3 id="reducerightcollection-iterateeidentity-accumulator-thisarg"><a id="_reducerightcollection-iteratee_identity-accumulator-thisarg" href="http://undefined" target="_blank"></a><code>_.reduceRight(collection, [iteratee=_.identity], [accumulator], [thisArg])</code></h3>

<p><a href="#_reducerightcollection-iteratee_identity-accumulator-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7021" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.reduceright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.reduce</code> except that it iterates over elements of <br>
<code>collection</code> from right to left.</p>

</div><div id="wmd-preview-section-468" class="wmd-preview-section preview-content">

<h4 id="aliases-13">Aliases</h4>

<p><em>_.foldr</em></p>

</div><div id="wmd-preview-section-469" class="wmd-preview-section preview-content">

<h4 id="arguments-60">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[accumulator]</code> <em>(*)</em>: The initial value.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-470" class="wmd-preview-section preview-content">

<h4 id="returns-66">Returns</h4>

<p><em>(*)</em>:  Returns the accumulated value.</p>

</div><div id="wmd-preview-section-471" class="wmd-preview-section preview-content">

<h4 id="example-65">Example</h4>

</div><div id="wmd-preview-section-472" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [[<span class="hljs-number">0</span>, <span class="hljs-number">1</span>], [<span class="hljs-number">2</span>, <span class="hljs-number">3</span>], [<span class="hljs-number">4</span>, <span class="hljs-number">5</span>]];<br><br>_.reduceRight(array, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(flattened, other)</span> </span>{<br>  <span class="hljs-keyword">return</span> flattened.concat(other);<br>}, []);<br><span class="hljs-comment">// =&gt; [4, 5, 2, 3, 0, 1]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-473" class="wmd-preview-section preview-content">

<h3 id="rejectcollection-predicateidentity-thisarg"><a id="_rejectcollection-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.reject(collection, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_rejectcollection-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7059" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.reject" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>The opposite of <code>_.filter</code>; this method returns the elements of <code>collection</code> <br>
that <code>predicate</code> does <strong>not</strong> return truthy for.</p>

</div><div id="wmd-preview-section-474" class="wmd-preview-section preview-content">

<h4 id="arguments-61">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-475" class="wmd-preview-section preview-content">

<h4 id="returns-67">Returns</h4>

<p><em>(Array)</em>:  Returns the new filtered array.</p>

</div><div id="wmd-preview-section-476" class="wmd-preview-section preview-content">

<h4 id="example-66">Example</h4>

</div><div id="wmd-preview-section-477" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.reject([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n % <span class="hljs-number">2</span> == <span class="hljs-number">0</span>;<br>});<br><span class="hljs-comment">// =&gt; [1, 3]</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }<br>];<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.pluck(_.reject(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney']</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.pluck(_.reject(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['fred']</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.pluck(_.reject(users, <span class="hljs-string">'active'</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-478" class="wmd-preview-section preview-content">

<h3 id="samplecollection-n"><a id="_samplecollection-n" href="http://undefined" target="_blank"></a><code>_.sample(collection, [n])</code></h3>

<p><a href="#_samplecollection-n">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7085" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.sample" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets a random element or <code>n</code> random elements from a collection.</p>

</div><div id="wmd-preview-section-479" class="wmd-preview-section preview-content">

<h4 id="arguments-62">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to sample.</li>
<li rel="2"><code>[n]</code> <em>(number)</em>: The number of elements to sample.</li>
</ol>

</div><div id="wmd-preview-section-480" class="wmd-preview-section preview-content">

<h4 id="returns-68">Returns</h4>

<p><em>(*)</em>:  Returns the random sample(s).</p>

</div><div id="wmd-preview-section-481" class="wmd-preview-section preview-content">

<h4 id="example-67">Example</h4>

</div><div id="wmd-preview-section-482" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.sample([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>]);<br><span class="hljs-comment">// =&gt; 2</span><br><br>_.sample([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>], <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [3, 1]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-483" class="wmd-preview-section preview-content">

<h3 id="shufflecollection"><a id="_shufflecollection" href="http://undefined" target="_blank"></a><code>_.shuffle(collection)</code></h3>

<p><a href="#_shufflecollection">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7122" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.shuffle" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of shuffled values, using a version of the <br>
<a href="https://en.wikipedia.org/wiki/Fisher-Yates_shuffle" target="_blank">Fisher-Yates shuffle</a>.</p>

</div><div id="wmd-preview-section-484" class="wmd-preview-section preview-content">

<h4 id="arguments-63">Arguments</h4>

<ol start="1"><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to shuffle.</li>
</ol>

</div><div id="wmd-preview-section-485" class="wmd-preview-section preview-content">

<h4 id="returns-69">Returns</h4>

<p><em>(Array)</em>:  Returns the new shuffled array.</p>

</div><div id="wmd-preview-section-486" class="wmd-preview-section preview-content">

<h4 id="example-68">Example</h4>

</div><div id="wmd-preview-section-487" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.shuffle([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>]);<br><span class="hljs-comment">// =&gt; [4, 1, 3, 2]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-488" class="wmd-preview-section preview-content">

<h3 id="sizecollection"><a id="_sizecollection" href="http://undefined" target="_blank"></a><code>_.size(collection)</code></h3>

<p><a href="#_sizecollection">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7146" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.size" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the size of <code>collection</code> by returning its length for array-like <br>
values or the number of own enumerable properties for objects.</p>

</div><div id="wmd-preview-section-489" class="wmd-preview-section preview-content">

<h4 id="arguments-64">Arguments</h4>

<ol start="1"><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to inspect.</li>
</ol>

</div><div id="wmd-preview-section-490" class="wmd-preview-section preview-content">

<h4 id="returns-70">Returns</h4>

<p><em>(number)</em>:  Returns the size of <code>collection</code>.</p>

</div><div id="wmd-preview-section-491" class="wmd-preview-section preview-content">

<h4 id="example-69">Example</h4>

</div><div id="wmd-preview-section-492" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.size([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; 3</span><br><br>_.size({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">2</span> });<br><span class="hljs-comment">// =&gt; 2</span><br><br>_.size(<span class="hljs-string">'pebbles'</span>);<br><span class="hljs-comment">// =&gt; 7</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-493" class="wmd-preview-section preview-content">

<h3 id="somecollection-predicateidentity-thisarg"><a id="_somecollection-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.some(collection, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_somecollection-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7200" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.some" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>predicate</code> returns truthy for <strong>any</strong> element of <code>collection</code>. <br>
The function returns as soon as it finds a passing value and does not iterate <br>
over the entire collection. The predicate is bound to <code>thisArg</code> and invoked <br>
with three arguments: (value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-494" class="wmd-preview-section preview-content">

<h4 id="aliases-14">Aliases</h4>

<p><em>_.any</em></p>

</div><div id="wmd-preview-section-495" class="wmd-preview-section preview-content">

<h4 id="arguments-65">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-496" class="wmd-preview-section preview-content">

<h4 id="returns-71">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if any element passes the predicate check, <br>
else <code>false</code>.</p>

</div><div id="wmd-preview-section-497" class="wmd-preview-section preview-content">

<h4 id="example-70">Example</h4>

</div><div id="wmd-preview-section-498" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.some([<span class="hljs-literal">null</span>, <span class="hljs-number">0</span>, <span class="hljs-string">'yes'</span>, <span class="hljs-literal">false</span>], <span class="hljs-built_in">Boolean</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.some(users, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> });<br><span class="hljs-comment">// =&gt; false</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.some(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.some(users, <span class="hljs-string">'active'</span>);<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-499" class="wmd-preview-section preview-content">

<h3 id="sortbycollection-iterateeidentity-thisarg"><a id="_sortbycollection-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.sortBy(collection, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_sortbycollection-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7259" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.sortby" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of elements, sorted in ascending order by the results of <br>
running each element in a collection through <code>iteratee</code>. This method performs <br>
a stable sort, that is, it preserves the original sort order of equal elements. <br>
The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with three arguments:<br>
(value, index|key, collection). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-500" class="wmd-preview-section preview-content">

<h4 id="arguments-66">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-501" class="wmd-preview-section preview-content">

<h4 id="returns-72">Returns</h4>

<p><em>(Array)</em>:  Returns the new sorted array.</p>

</div><div id="wmd-preview-section-502" class="wmd-preview-section preview-content">

<h4 id="example-71">Example</h4>

</div><div id="wmd-preview-section-503" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.sortBy([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-built_in">Math</span>.sin(n);<br>});<br><span class="hljs-comment">// =&gt; [3, 1, 2]</span><br><br>_.sortBy([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-keyword">this</span>.sin(n);<br>}, <span class="hljs-built_in">Math</span>);<br><span class="hljs-comment">// =&gt; [3, 1, 2]</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> }<br>];<br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.pluck(_.sortBy(users, <span class="hljs-string">'user'</span>), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney', 'fred', 'pebbles']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-504" class="wmd-preview-section preview-content">

<h3 id="sortbyallcollection-iteratees"><a id="_sortbyallcollection-iteratees" href="http://undefined" target="_blank"></a><code>_.sortByAll(collection, iteratees)</code></h3>

<p><a href="#_sortbyallcollection-iteratees">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7310" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.sortbyall" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.sortBy</code> except that it can sort by multiple iteratees <br>
or property names. <br>
<br>
<br>
If a property name is provided for an iteratee the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If an object is provided for an iteratee the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-505" class="wmd-preview-section preview-content">

<h4 id="arguments-67">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>iteratees</code> <em>(…(Function|Function[]|Object|Object[]|string|string[])</em>:  The iteratees to sort by, specified as individual values or arrays of values.</li>
</ol>

</div><div id="wmd-preview-section-506" class="wmd-preview-section preview-content">

<h4 id="returns-73">Returns</h4>

<p><em>(Array)</em>:  Returns the new sorted array.</p>

</div><div id="wmd-preview-section-507" class="wmd-preview-section preview-content">

<h4 id="example-72">Example</h4>

</div><div id="wmd-preview-section-508" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">48</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">42</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">34</span> }<br>];<br><br>_.map(_.sortByAll(users, [<span class="hljs-string">'user'</span>, <span class="hljs-string">'age'</span>]), _.values);<br><span class="hljs-comment">// =&gt; [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]]</span><br><br>_.map(_.sortByAll(users, <span class="hljs-string">'user'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-built_in">Math</span>.floor(chr.age / <span class="hljs-number">10</span>);<br>}), _.values);<br><span class="hljs-comment">// =&gt; [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-509" class="wmd-preview-section preview-content">

<h3 id="sortbyordercollection-iteratees-orders"><a id="_sortbyordercollection-iteratees-orders" href="http://undefined" target="_blank"></a><code>_.sortByOrder(collection, iteratees, [orders])</code></h3>

<p><a href="#_sortbyordercollection-iteratees-orders">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7355" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.sortbyorder" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.sortByAll</code> except that it allows specifying the <br>
sort orders of the iteratees to sort by. If <code>orders</code> is unspecified, all <br>
values are sorted in ascending order. Otherwise, a value is sorted in <br>
ascending order if its corresponding order is “asc”, and descending if “desc”. <br>
<br>
<br>
If a property name is provided for an iteratee the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If an object is provided for an iteratee the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-510" class="wmd-preview-section preview-content">

<h4 id="arguments-68">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>iteratees</code> <em>(Function[]|Object[]|string[])</em>: The iteratees to sort by.</li>
<li rel="3"><code>[orders]</code> <em>(boolean[])</em>: The sort orders of <code>iteratees</code>.</li>
</ol>

</div><div id="wmd-preview-section-511" class="wmd-preview-section preview-content">

<h4 id="returns-74">Returns</h4>

<p><em>(Array)</em>:  Returns the new sorted array.</p>

</div><div id="wmd-preview-section-512" class="wmd-preview-section preview-content">

<h4 id="example-73">Example</h4>

</div><div id="wmd-preview-section-513" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">48</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">34</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">42</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> }<br>];<br><br><span class="hljs-comment">// sort by `user` in ascending order and by `age` in descending order</span><br>_.map(_.sortByOrder(users, [<span class="hljs-string">'user'</span>, <span class="hljs-string">'age'</span>], [<span class="hljs-string">'asc'</span>, <span class="hljs-string">'desc'</span>]), _.values);<br><span class="hljs-comment">// =&gt; [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-514" class="wmd-preview-section preview-content">

<h3 id="wherecollection-source"><a id="_wherecollection-source" href="http://undefined" target="_blank"></a><code>_.where(collection, source)</code></h3>

<p><a href="#_wherecollection-source">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7400" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.where" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Performs a deep comparison between each element in <code>collection</code> and the <br>
source object, returning an array of all elements that have equivalent <br>
property values. <br>
<br>
<br>
<strong>Note:</strong> This method supports comparing arrays, booleans, <code>Date</code> objects, <br>
numbers, <code>Object</code> objects, regexes, and strings. Objects are compared by <br>
their own, not inherited, enumerable properties. For comparing a single <br>
own or inherited property value see <code>_.matchesProperty</code>.</p>

</div><div id="wmd-preview-section-515" class="wmd-preview-section preview-content">

<h4 id="arguments-69">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to search.</li>
<li rel="2"><code>source</code> <em>(Object)</em>: The object of property values to match.</li>
</ol>

</div><div id="wmd-preview-section-516" class="wmd-preview-section preview-content">

<h4 id="returns-75">Returns</h4>

<p><em>(Array)</em>:  Returns the new filtered array.</p>

</div><div id="wmd-preview-section-517" class="wmd-preview-section preview-content">

<h4 id="example-74">Example</h4>

</div><div id="wmd-preview-section-518" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span>, <span class="hljs-string">'pets'</span>: [<span class="hljs-string">'hoppy'</span>] },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span>, <span class="hljs-string">'pets'</span>: [<span class="hljs-string">'baby puss'</span>, <span class="hljs-string">'dino'</span>] }<br>];<br><br>_.pluck(_.where(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['barney']</span><br><br>_.pluck(_.where(users, { <span class="hljs-string">'pets'</span>: [<span class="hljs-string">'dino'</span>] }), <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; ['fred']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-519" class="wmd-preview-section preview-content">

<h2 id="date-methods"><code>“Date” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-520" class="wmd-preview-section preview-content">

<h3 id="now"><a id="_now" href="http://undefined" target="_blank"></a><code>_.now</code></h3>

<p><a href="#_now">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7420" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.now" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the number of milliseconds that have elapsed since the Unix epoch <br>
(1 January 1970 00:00:00 UTC).</p>

</div><div id="wmd-preview-section-521" class="wmd-preview-section preview-content">

<h4 id="example-75">Example</h4>

</div><div id="wmd-preview-section-522" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.defer(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(stamp)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(_.now() - stamp);<br>}, _.now());<br><span class="hljs-comment">// =&gt; logs the number of milliseconds it took for the deferred function to be invoked</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-523" class="wmd-preview-section preview-content">

<h2 id="function-methods"><code>“Function” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-524" class="wmd-preview-section preview-content">

<h3 id="aftern-func"><a id="_aftern-func" href="http://undefined" target="_blank"></a><code>_.after(n, func)</code></h3>

<p><a href="#_aftern-func">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7449" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.after" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>The opposite of <code>_.before</code>; this method creates a function that invokes <br>
<code>func</code> once it’s called <code>n</code> or more times.</p>

</div><div id="wmd-preview-section-525" class="wmd-preview-section preview-content">

<h4 id="arguments-70">Arguments</h4>

<ol><li rel="1"><code>n</code> <em>(number)</em>: The number of calls before <code>func</code> is invoked.</li>
<li rel="2"><code>func</code> <em>(Function)</em>: The function to restrict.</li>
</ol>

</div><div id="wmd-preview-section-526" class="wmd-preview-section preview-content">

<h4 id="returns-76">Returns</h4>

<p><em>(Function)</em>:  Returns the new restricted function.</p>

</div><div id="wmd-preview-section-527" class="wmd-preview-section preview-content">

<h4 id="example-76">Example</h4>

</div><div id="wmd-preview-section-528" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> saves = [<span class="hljs-string">'profile'</span>, <span class="hljs-string">'settings'</span>];<br><br><span class="hljs-keyword">var</span> done = _.after(saves.length, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'done saving!'</span>);<br>});<br><br>_.forEach(saves, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(type)</span> </span>{<br>  asyncSave({ <span class="hljs-string">'type'</span>: type, <span class="hljs-string">'complete'</span>: done });<br>});<br><span class="hljs-comment">// =&gt; logs 'done saving!' after the two async saves have completed</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-529" class="wmd-preview-section preview-content">

<h3 id="aryfunc-nfunclength"><a id="_aryfunc-nfunclength" href="http://undefined" target="_blank"></a><code>_.ary(func, [n=func.length])</code></h3>

<p><a href="#_aryfunc-nfunclength">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7483" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.ary" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that accepts up to <code>n</code> arguments ignoring any <br>
additional arguments.</p>

</div><div id="wmd-preview-section-530" class="wmd-preview-section preview-content">

<h4 id="arguments-71">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to cap arguments for.</li>
<li rel="2"><code>[n=func.length]</code> <em>(number)</em>: The arity cap.</li>
</ol>

</div><div id="wmd-preview-section-531" class="wmd-preview-section preview-content">

<h4 id="returns-77">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-532" class="wmd-preview-section preview-content">

<h4 id="example-77">Example</h4>

</div><div id="wmd-preview-section-533" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.map([<span class="hljs-string">'6'</span>, <span class="hljs-string">'8'</span>, <span class="hljs-string">'10'</span>], _.ary(<span class="hljs-built_in">parseInt</span>, <span class="hljs-number">1</span>));<br><span class="hljs-comment">// =&gt; [6, 8, 10]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-534" class="wmd-preview-section preview-content">

<h3 id="beforen-func"><a id="_beforen-func" href="http://undefined" target="_blank"></a><code>_.before(n, func)</code></h3>

<p><a href="#_beforen-func">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7507" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.before" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes <code>func</code>, with the <code>this</code> binding and arguments <br>
of the created function, while it’s called less than <code>n</code> times. Subsequent <br>
calls to the created function return the result of the last <code>func</code> invocation.</p>

</div><div id="wmd-preview-section-535" class="wmd-preview-section preview-content">

<h4 id="arguments-72">Arguments</h4>

<ol><li rel="1"><code>n</code> <em>(number)</em>: The number of calls at which <code>func</code> is no longer invoked.</li>
<li rel="2"><code>func</code> <em>(Function)</em>: The function to restrict.</li>
</ol>

</div><div id="wmd-preview-section-536" class="wmd-preview-section preview-content">

<h4 id="returns-78">Returns</h4>

<p><em>(Function)</em>:  Returns the new restricted function.</p>

</div><div id="wmd-preview-section-537" class="wmd-preview-section preview-content">

<h4 id="example-78">Example</h4>

</div><div id="wmd-preview-section-538" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">jQuery(<span class="hljs-string">'#add'</span>).on(<span class="hljs-string">'click'</span>, _.before(<span class="hljs-number">5</span>, addContactToList));<br><span class="hljs-comment">// =&gt; allows adding up to 4 contacts to the list</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-539" class="wmd-preview-section preview-content">

<h3 id="bindfunc-thisarg-partials"><a id="_bindfunc-thisarg-partials" href="http://undefined" target="_blank"></a><code>_.bind(func, thisArg, [partials])</code></h3>

<p><a href="#_bindfunc-thisarg-partials">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7564" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.bind" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes <code>func</code> with the <code>this</code> binding of <code>thisArg</code> <br>
and prepends any additional <code>_.bind</code> arguments to those provided to the <br>
bound function. <br>
<br>
<br>
The <code>_.bind.placeholder</code> value, which defaults to <code>_</code> in monolithic builds, <br>
may be used as a placeholder for partially applied arguments. <br>
<br>
<br>
<strong>Note:</strong> Unlike native <code>Function#bind</code> this method does not set the “length” <br>
property of bound functions.</p>

</div><div id="wmd-preview-section-540" class="wmd-preview-section preview-content">

<h4 id="arguments-73">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to bind.</li>
<li rel="2"><code>thisArg</code> <em>(*)</em>: The <code>this</code> binding of <code>func</code>.</li>
<li rel="3"><code>[partials]</code> <em>(…*)</em>: The arguments to be partially applied.</li>
</ol>

</div><div id="wmd-preview-section-541" class="wmd-preview-section preview-content">

<h4 id="returns-79">Returns</h4>

<p><em>(Function)</em>:  Returns the new bound function.</p>

</div><div id="wmd-preview-section-542" class="wmd-preview-section preview-content">

<h4 id="example-79">Example</h4>

</div><div id="wmd-preview-section-543" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> greet = <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(greeting, punctuation)</span> </span>{<br>  <span class="hljs-keyword">return</span> greeting + <span class="hljs-string">' '</span> + <span class="hljs-keyword">this</span>.user + punctuation;<br>};<br><br><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> };<br><br><span class="hljs-keyword">var</span> bound = _.bind(greet, object, <span class="hljs-string">'hi'</span>);<br>bound(<span class="hljs-string">'!'</span>);<br><span class="hljs-comment">// =&gt; 'hi fred!'</span><br><br><span class="hljs-comment">// using placeholders</span><br><span class="hljs-keyword">var</span> bound = _.bind(greet, object, _, <span class="hljs-string">'!'</span>);<br>bound(<span class="hljs-string">'hi'</span>);<br><span class="hljs-comment">// =&gt; 'hi fred!'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-544" class="wmd-preview-section preview-content">

<h3 id="bindallobject-methodnames"><a id="_bindallobject-methodnames" href="http://undefined" target="_blank"></a><code>_.bindAll(object, [methodNames])</code></h3>

<p><a href="#_bindallobject-methodnames">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7601" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.bindall" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Binds methods of an object to the object itself, overwriting the existing <br>
method. Method names may be specified as individual arguments or as arrays <br>
of method names. If no method names are provided all enumerable function <br>
properties, own and inherited, of <code>object</code> are bound. <br>
<br>
<br>
<strong>Note:</strong> This method does not set the “length” property of bound functions.</p>

</div><div id="wmd-preview-section-545" class="wmd-preview-section preview-content">

<h4 id="arguments-74">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to bind and assign the bound methods to.</li>
<li rel="2"><code>[methodNames]</code> <em>(…(string|string[])</em>: The object method names to bind, specified as individual method names or arrays of method names.</li>
</ol>

</div><div id="wmd-preview-section-546" class="wmd-preview-section preview-content">

<h4 id="returns-80">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-547" class="wmd-preview-section preview-content">

<h4 id="example-80">Example</h4>

</div><div id="wmd-preview-section-548" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> view = {<br>  <span class="hljs-string">'label'</span>: <span class="hljs-string">'docs'</span>,<br>  <span class="hljs-string">'onClick'</span>: <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span> </span>{<br>    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">'clicked '</span> + <span class="hljs-keyword">this</span>.label);<br>  }<br>};<br><br>_.bindAll(view);<br>jQuery(<span class="hljs-string">'#docs'</span>).on(<span class="hljs-string">'click'</span>, view.onClick);<br><span class="hljs-comment">// =&gt; logs 'clicked docs' when the element is clicked</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-549" class="wmd-preview-section preview-content">

<h3 id="bindkeyobject-key-partials"><a id="_bindkeyobject-key-partials" href="http://undefined" target="_blank"></a><code>_.bindKey(object, key, [partials])</code></h3>

<p><a href="#_bindkeyobject-key-partials">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7658" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.bindkey" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes the method at <code>object[key]</code> and prepends <br>
any additional <code>_.bindKey</code> arguments to those provided to the bound function. <br>
<br>
<br>
This method differs from <code>_.bind</code> by allowing bound functions to reference <br>
methods that may be redefined or don’t yet exist. <br>
See <a href="http://peter.michaux.ca/articles/lazy-function-definition-pattern" target="_blank">Peter Michaux’s article</a> <br>
for more details. <br>
<br>
<br>
The <code>_.bindKey.placeholder</code> value, which defaults to <code>_</code> in monolithic <br>
builds, may be used as a placeholder for partially applied arguments.</p>

</div><div id="wmd-preview-section-550" class="wmd-preview-section preview-content">

<h4 id="arguments-75">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object the method belongs to.</li>
<li rel="2"><code>key</code> <em>(string)</em>: The key of the method.</li>
<li rel="3"><code>[partials]</code> <em>(…*)</em>: The arguments to be partially applied.</li>
</ol>

</div><div id="wmd-preview-section-551" class="wmd-preview-section preview-content">

<h4 id="returns-81">Returns</h4>

<p><em>(Function)</em>:  Returns the new bound function.</p>

</div><div id="wmd-preview-section-552" class="wmd-preview-section preview-content">

<h4 id="example-81">Example</h4>

</div><div id="wmd-preview-section-553" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = {<br>  <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,<br>  <span class="hljs-string">'greet'</span>: <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(greeting, punctuation)</span> </span>{<br>    <span class="hljs-keyword">return</span> greeting + <span class="hljs-string">' '</span> + <span class="hljs-keyword">this</span>.user + punctuation;<br>  }<br>};<br><br><span class="hljs-keyword">var</span> bound = _.bindKey(object, <span class="hljs-string">'greet'</span>, <span class="hljs-string">'hi'</span>);<br>bound(<span class="hljs-string">'!'</span>);<br><span class="hljs-comment">// =&gt; 'hi fred!'</span><br><br>object.greet = <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(greeting, punctuation)</span> </span>{<br>  <span class="hljs-keyword">return</span> greeting + <span class="hljs-string">'ya '</span> + <span class="hljs-keyword">this</span>.user + punctuation;<br>};<br><br>bound(<span class="hljs-string">'!'</span>);<br><span class="hljs-comment">// =&gt; 'hiya fred!'</span><br><br><span class="hljs-comment">// using placeholders</span><br><span class="hljs-keyword">var</span> bound = _.bindKey(object, <span class="hljs-string">'greet'</span>, _, <span class="hljs-string">'!'</span>);<br>bound(<span class="hljs-string">'hi'</span>);<br><span class="hljs-comment">// =&gt; 'hiya fred!'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-554" class="wmd-preview-section preview-content">

<h3 id="curryfunc-arityfunclength"><a id="_curryfunc-arityfunclength" href="http://undefined" target="_blank"></a><code>_.curry(func, [arity=func.length])</code></h3>

<p><a href="#_curryfunc-arityfunclength">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7707" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.curry" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that accepts one or more arguments of <code>func</code> that when <br>
called either invokes <code>func</code> returning its result, if all <code>func</code> arguments <br>
have been provided, or returns a function that accepts one or more of the <br>
remaining <code>func</code> arguments, and so on. The arity of <code>func</code> may be specified <br>
if <code>func.length</code> is not sufficient. <br>
<br>
<br>
The <code>_.curry.placeholder</code> value, which defaults to <code>_</code> in monolithic builds, <br>
may be used as a placeholder for provided arguments. <br>
<br>
<br>
<strong>Note:</strong> This method does not set the “length” property of curried functions.</p>

</div><div id="wmd-preview-section-555" class="wmd-preview-section preview-content">

<h4 id="arguments-76">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to curry.</li>
<li rel="2"><code>[arity=func.length]</code> <em>(number)</em>: The arity of <code>func</code>.</li>
</ol>

</div><div id="wmd-preview-section-556" class="wmd-preview-section preview-content">

<h4 id="returns-82">Returns</h4>

<p><em>(Function)</em>:  Returns the new curried function.</p>

</div><div id="wmd-preview-section-557" class="wmd-preview-section preview-content">

<h4 id="example-82">Example</h4>

</div><div id="wmd-preview-section-558" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> abc = <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(a, b, c)</span> </span>{<br>  <span class="hljs-keyword">return</span> [a, b, c];<br>};<br><br><span class="hljs-keyword">var</span> curried = _.curry(abc);<br><br>curried(<span class="hljs-number">1</span>)(<span class="hljs-number">2</span>)(<span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br>curried(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>)(<span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br>curried(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br><span class="hljs-comment">// using placeholders</span><br>curried(<span class="hljs-number">1</span>)(_, <span class="hljs-number">3</span>)(<span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-559" class="wmd-preview-section preview-content">

<h3 id="curryrightfunc-arityfunclength"><a id="_curryrightfunc-arityfunclength" href="http://undefined" target="_blank"></a><code>_.curryRight(func, [arity=func.length])</code></h3>

<p><a href="#_curryrightfunc-arityfunclength">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7746" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.curryright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.curry</code> except that arguments are applied to <code>func</code> <br>
in the manner of <code>_.partialRight</code> instead of <code>_.partial</code>. <br>
<br>
<br>
The <code>_.curryRight.placeholder</code> value, which defaults to <code>_</code> in monolithic <br>
builds, may be used as a placeholder for provided arguments. <br>
<br>
<br>
<strong>Note:</strong> This method does not set the “length” property of curried functions.</p>

</div><div id="wmd-preview-section-560" class="wmd-preview-section preview-content">

<h4 id="arguments-77">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to curry.</li>
<li rel="2"><code>[arity=func.length]</code> <em>(number)</em>: The arity of <code>func</code>.</li>
</ol>

</div><div id="wmd-preview-section-561" class="wmd-preview-section preview-content">

<h4 id="returns-83">Returns</h4>

<p><em>(Function)</em>:  Returns the new curried function.</p>

</div><div id="wmd-preview-section-562" class="wmd-preview-section preview-content">

<h4 id="example-83">Example</h4>

</div><div id="wmd-preview-section-563" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> abc = <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(a, b, c)</span> </span>{<br>  <span class="hljs-keyword">return</span> [a, b, c];<br>};<br><br><span class="hljs-keyword">var</span> curried = _.curryRight(abc);<br><br>curried(<span class="hljs-number">3</span>)(<span class="hljs-number">2</span>)(<span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br>curried(<span class="hljs-number">2</span>, <span class="hljs-number">3</span>)(<span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br>curried(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br><br><span class="hljs-comment">// using placeholders</span><br>curried(<span class="hljs-number">3</span>)(<span class="hljs-number">1</span>, _)(<span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-564" class="wmd-preview-section preview-content">

<h3 id="debouncefunc-wait0-options"><a id="_debouncefunc-wait0-options" href="http://undefined" target="_blank"></a><code>_.debounce(func, [wait=0], [options])</code></h3>

<p><a href="#_debouncefunc-wait0-options">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7811" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.debounce" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a debounced function that delays invoking <code>func</code> until after <code>wait</code> <br>
milliseconds have elapsed since the last time the debounced function was <br>
invoked. The debounced function comes with a <code>cancel</code> method to cancel <br>
delayed invocations. Provide an options object to indicate that <code>func</code> <br>
should be invoked on the leading and/or trailing edge of the <code>wait</code> timeout. <br>
Subsequent calls to the debounced function return the result of the last <br>
<code>func</code> invocation. <br>
<br>
<br>
<strong>Note:</strong> If <code>leading</code> and <code>trailing</code> options are <code>true</code>, <code>func</code> is invoked <br>
on the trailing edge of the timeout only if the the debounced function is <br>
invoked more than once during the <code>wait</code> timeout. <br>
<br>
<br>
See <a href="http://drupalmotion.com/article/debounce-and-throttle-visual-explanation" target="_blank">David Corbacho’s article</a> <br>
for details over the differences between <code>_.debounce</code> and <code>_.throttle</code>.</p>

</div><div id="wmd-preview-section-565" class="wmd-preview-section preview-content">

<h4 id="arguments-78">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to debounce.</li>
<li rel="2"><code>[wait=0]</code> <em>(number)</em>: The number of milliseconds to delay.</li>
<li rel="3"><code>[options]</code> <em>(Object)</em>: The options object.</li>
<li rel="4"><code>[options.leading=false]</code> <em>(boolean)</em>: Specify invoking on the leading edge of the timeout.</li>
<li rel="5"><code>[options.maxWait]</code> <em>(number)</em>: The maximum time <code>func</code> is allowed to be delayed before it’s invoked.</li>
<li rel="6"><code>[options.trailing=true]</code> <em>(boolean)</em>: Specify invoking on the trailing edge of the timeout.</li>
</ol>

</div><div id="wmd-preview-section-566" class="wmd-preview-section preview-content">

<h4 id="returns-84">Returns</h4>

<p><em>(Function)</em>:  Returns the new debounced function.</p>

</div><div id="wmd-preview-section-567" class="wmd-preview-section preview-content">

<h4 id="example-84">Example</h4>

</div><div id="wmd-preview-section-568" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-comment">// avoid costly calculations while the window size is in flux</span><br>jQuery(<span class="hljs-built_in">window</span>).on(<span class="hljs-string">'resize'</span>, _.debounce(calculateLayout, <span class="hljs-number">150</span>));<br><br><span class="hljs-comment">// invoke `sendMail` when the click event is fired, debouncing subsequent calls</span><br>jQuery(<span class="hljs-string">'#postbox'</span>).on(<span class="hljs-string">'click'</span>, _.debounce(sendMail, <span class="hljs-number">300</span>, {<br>  <span class="hljs-string">'leading'</span>: <span class="hljs-literal">true</span>,<br>  <span class="hljs-string">'trailing'</span>: <span class="hljs-literal">false</span><br>}));<br><br><span class="hljs-comment">// ensure `batchLog` is invoked once after 1 second of debounced calls</span><br><span class="hljs-keyword">var</span> source = <span class="hljs-keyword">new</span> EventSource(<span class="hljs-string">'/stream'</span>);<br>jQuery(source).on(<span class="hljs-string">'message'</span>, _.debounce(batchLog, <span class="hljs-number">250</span>, {<br>  <span class="hljs-string">'maxWait'</span>: <span class="hljs-number">1000</span><br>}));<br><br><span class="hljs-comment">// cancel a debounced call</span><br><span class="hljs-keyword">var</span> todoChanges = _.debounce(batchLog, <span class="hljs-number">1000</span>);<br><span class="hljs-built_in">Object</span>.observe(models.todo, todoChanges);<br><br><span class="hljs-built_in">Object</span>.observe(models, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(changes)</span> </span>{<br>  <span class="hljs-keyword">if</span> (_.find(changes, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'todo'</span>, <span class="hljs-string">'type'</span>: <span class="hljs-string">'delete'</span>})) {<br>    todoChanges.cancel();<br>  }<br>}, [<span class="hljs-string">'delete'</span>]);<br><br><span class="hljs-comment">// ...at some point `models.todo` is changed</span><br>models.todo.completed = <span class="hljs-literal">true</span>;<br><br><span class="hljs-comment">// ...before 1 second has passed `models.todo` is deleted</span><br><span class="hljs-comment">// which cancels the debounced `todoChanges` call</span><br><span class="hljs-keyword">delete</span> models.todo;<br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-569" class="wmd-preview-section preview-content">

<h3 id="deferfunc-args"><a id="_deferfunc-args" href="http://undefined" target="_blank"></a><code>_.defer(func, [args])</code></h3>

<p><a href="#_deferfunc-args">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7936" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.defer" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Defers invoking the <code>func</code> until the current call stack has cleared. Any <br>
additional arguments are provided to <code>func</code> when it’s invoked.</p>

</div><div id="wmd-preview-section-570" class="wmd-preview-section preview-content">

<h4 id="arguments-79">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to defer.</li>
<li rel="2"><code>[args]</code> <em>(…*)</em>: The arguments to invoke the function with.</li>
</ol>

</div><div id="wmd-preview-section-571" class="wmd-preview-section preview-content">

<h4 id="returns-85">Returns</h4>

<p><em>(number)</em>:  Returns the timer id.</p>

</div><div id="wmd-preview-section-572" class="wmd-preview-section preview-content">

<h4 id="example-85">Example</h4>

</div><div id="wmd-preview-section-573" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.defer(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(text)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(text);<br>}, <span class="hljs-string">'deferred'</span>);<br><span class="hljs-comment">// logs 'deferred' after one or more milliseconds</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-574" class="wmd-preview-section preview-content">

<h3 id="delayfunc-wait-args"><a id="_delayfunc-wait-args" href="http://undefined" target="_blank"></a><code>_.delay(func, wait, [args])</code></h3>

<p><a href="#_delayfunc-wait-args">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7958" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.delay" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Invokes <code>func</code> after <code>wait</code> milliseconds. Any additional arguments are <br>
provided to <code>func</code> when it’s invoked.</p>

</div><div id="wmd-preview-section-575" class="wmd-preview-section preview-content">

<h4 id="arguments-80">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to delay.</li>
<li rel="2"><code>wait</code> <em>(number)</em>: The number of milliseconds to delay invocation.</li>
<li rel="3"><code>[args]</code> <em>(…*)</em>: The arguments to invoke the function with.</li>
</ol>

</div><div id="wmd-preview-section-576" class="wmd-preview-section preview-content">

<h4 id="returns-86">Returns</h4>

<p><em>(number)</em>:  Returns the timer id.</p>

</div><div id="wmd-preview-section-577" class="wmd-preview-section preview-content">

<h4 id="example-86">Example</h4>

</div><div id="wmd-preview-section-578" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.delay(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(text)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(text);<br>}, <span class="hljs-number">1000</span>, <span class="hljs-string">'later'</span>);<br><span class="hljs-comment">// =&gt; logs 'later' after one second</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-579" class="wmd-preview-section preview-content">

<h3 id="flowfuncs"><a id="_flowfuncs" href="http://undefined" target="_blank"></a><code>_.flow([funcs])</code></h3>

<p><a href="#_flowfuncs">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L7982" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.flow" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that returns the result of invoking the provided <br>
functions with the <code>this</code> binding of the created function, where each <br>
successive invocation is supplied the return value of the previous.</p>

</div><div id="wmd-preview-section-580" class="wmd-preview-section preview-content">

<h4 id="arguments-81">Arguments</h4>

<ol start="1"><li rel="1"><code>[funcs]</code> <em>(…Function)</em>: Functions to invoke.</li>
</ol>

</div><div id="wmd-preview-section-581" class="wmd-preview-section preview-content">

<h4 id="returns-87">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-582" class="wmd-preview-section preview-content">

<h4 id="example-87">Example</h4>

</div><div id="wmd-preview-section-583" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">square</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n * n;<br>}<br><br><span class="hljs-keyword">var</span> addSquare = _.flow(_.add, square);<br>addSquare(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 9</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-584" class="wmd-preview-section preview-content">

<h3 id="flowrightfuncs"><a id="_flowrightfuncs" href="http://undefined" target="_blank"></a><code>_.flowRight([funcs])</code></h3>

<p><a href="#_flowrightfuncs">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8004" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.flowright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.flow</code> except that it creates a function that <br>
invokes the provided functions from right to left.</p>

</div><div id="wmd-preview-section-585" class="wmd-preview-section preview-content">

<h4 id="aliases-15">Aliases</h4>

<p><em>_.backflow, _.compose</em></p>

</div><div id="wmd-preview-section-586" class="wmd-preview-section preview-content">

<h4 id="arguments-82">Arguments</h4>

<ol start="1"><li rel="1"><code>[funcs]</code> <em>(…Function)</em>: Functions to invoke.</li>
</ol>

</div><div id="wmd-preview-section-587" class="wmd-preview-section preview-content">

<h4 id="returns-88">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-588" class="wmd-preview-section preview-content">

<h4 id="example-88">Example</h4>

</div><div id="wmd-preview-section-589" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">square</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n * n;<br>}<br><br><span class="hljs-keyword">var</span> addSquare = _.flowRight(square, _.add);<br>addSquare(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 9</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-590" class="wmd-preview-section preview-content">

<h3 id="memoizefunc-resolver"><a id="_memoizefunc-resolver" href="http://undefined" target="_blank"></a><code>_.memoize(func, [resolver])</code></h3>

<p><a href="#_memoizefunc-resolver">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8057" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.memoize" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that memoizes the result of <code>func</code>. If <code>resolver</code> is <br>
provided it determines the cache key for storing the result based on the <br>
arguments provided to the memoized function. By default, the first argument <br>
provided to the memoized function is coerced to a string and used as the <br>
cache key. The <code>func</code> is invoked with the <code>this</code> binding of the memoized <br>
function. <br>
<br>
<br>
<strong>Note:</strong> The cache is exposed as the <code>cache</code> property on the memoized <br>
function. Its creation may be customized by replacing the <code>_.memoize.Cache</code> <br>
constructor with one whose instances implement the <a href="http://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-map-prototype-object" target="_blank"><code>Map</code></a> <br>
method interface of <code>get</code>, <code>has</code>, and <code>set</code>.</p>

</div><div id="wmd-preview-section-591" class="wmd-preview-section preview-content">

<h4 id="arguments-83">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to have its output memoized.</li>
<li rel="2"><code>[resolver]</code> <em>(Function)</em>: The function to resolve the cache key.</li>
</ol>

</div><div id="wmd-preview-section-592" class="wmd-preview-section preview-content">

<h4 id="returns-89">Returns</h4>

<p><em>(Function)</em>:  Returns the new memoizing function.</p>

</div><div id="wmd-preview-section-593" class="wmd-preview-section preview-content">

<h4 id="example-89">Example</h4>

</div><div id="wmd-preview-section-594" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> upperCase = _.memoize(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(string)</span> </span>{<br>  <span class="hljs-keyword">return</span> string.toUpperCase();<br>});<br><br>upperCase(<span class="hljs-string">'fred'</span>);<br><span class="hljs-comment">// =&gt; 'FRED'</span><br><br><span class="hljs-comment">// modifying the result cache</span><br>upperCase.cache.set(<span class="hljs-string">'fred'</span>, <span class="hljs-string">'BARNEY'</span>);<br>upperCase(<span class="hljs-string">'fred'</span>);<br><span class="hljs-comment">// =&gt; 'BARNEY'</span><br><br><span class="hljs-comment">// replacing `_.memoize.Cache`</span><br><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> };<br><span class="hljs-keyword">var</span> other = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> };<br><span class="hljs-keyword">var</span> identity = _.memoize(_.identity);<br><br>identity(object);<br><span class="hljs-comment">// =&gt; { 'user': 'fred' }</span><br>identity(other);<br><span class="hljs-comment">// =&gt; { 'user': 'fred' }</span><br><br>_.memoize.Cache = WeakMap;<br><span class="hljs-keyword">var</span> identity = _.memoize(_.identity);<br><br>identity(object);<br><span class="hljs-comment">// =&gt; { 'user': 'fred' }</span><br>identity(other);<br><span class="hljs-comment">// =&gt; { 'user': 'barney' }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-595" class="wmd-preview-section preview-content">

<h3 id="modargsfunc-transforms"><a id="_modargsfunc-transforms" href="http://undefined" target="_blank"></a><code>_.modArgs(func, [transforms])</code></h3>

<p><a href="#_modargsfunc-transforms">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8108" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.modargs" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that runs each argument through a corresponding <br>
transform function.</p>

</div><div id="wmd-preview-section-596" class="wmd-preview-section preview-content">

<h4 id="arguments-84">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to wrap.</li>
<li rel="2"><code>[transforms]</code> <em>(…(Function|Function[])</em>: The functions to transform arguments, specified as individual functions or arrays of functions.</li>
</ol>

</div><div id="wmd-preview-section-597" class="wmd-preview-section preview-content">

<h4 id="returns-90">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-598" class="wmd-preview-section preview-content">

<h4 id="example-90">Example</h4>

</div><div id="wmd-preview-section-599" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">doubled</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n * <span class="hljs-number">2</span>;<br>}<br><br><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">square</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n * n;<br>}<br><br><span class="hljs-keyword">var</span> modded = _.modArgs(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(x, y)</span> </span>{<br>  <span class="hljs-keyword">return</span> [x, y];<br>}, square, doubled);<br><br>modded(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; [1, 4]</span><br><br>modded(<span class="hljs-number">5</span>, <span class="hljs-number">10</span>);<br><span class="hljs-comment">// =&gt; [25, 20]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-600" class="wmd-preview-section preview-content">

<h3 id="negatepredicate"><a id="_negatepredicate" href="http://undefined" target="_blank"></a><code>_.negate(predicate)</code></h3>

<p><a href="#_negatepredicate">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8142" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.negate" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that negates the result of the predicate <code>func</code>. The <br>
<code>func</code> predicate is invoked with the <code>this</code> binding and arguments of the <br>
created function.</p>

</div><div id="wmd-preview-section-601" class="wmd-preview-section preview-content">

<h4 id="arguments-85">Arguments</h4>

<ol start="1"><li rel="1"><code>predicate</code> <em>(Function)</em>: The predicate to negate.</li>
</ol>

</div><div id="wmd-preview-section-602" class="wmd-preview-section preview-content">

<h4 id="returns-91">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-603" class="wmd-preview-section preview-content">

<h4 id="example-91">Example</h4>

</div><div id="wmd-preview-section-604" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">isEven</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n % <span class="hljs-number">2</span> == <span class="hljs-number">0</span>;<br>}<br><br>_.filter([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>, <span class="hljs-number">5</span>, <span class="hljs-number">6</span>], _.negate(isEven));<br><span class="hljs-comment">// =&gt; [1, 3, 5]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-605" class="wmd-preview-section preview-content">

<h3 id="oncefunc"><a id="_oncefunc" href="http://undefined" target="_blank"></a><code>_.once(func)</code></h3>

<p><a href="#_oncefunc">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8168" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.once" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that is restricted to invoking <code>func</code> once. Repeat calls <br>
to the function return the value of the first call. The <code>func</code> is invoked <br>
with the <code>this</code> binding and arguments of the created function.</p>

</div><div id="wmd-preview-section-606" class="wmd-preview-section preview-content">

<h4 id="arguments-86">Arguments</h4>

<ol start="1"><li rel="1"><code>func</code> <em>(Function)</em>: The function to restrict.</li>
</ol>

</div><div id="wmd-preview-section-607" class="wmd-preview-section preview-content">

<h4 id="returns-92">Returns</h4>

<p><em>(Function)</em>:  Returns the new restricted function.</p>

</div><div id="wmd-preview-section-608" class="wmd-preview-section preview-content">

<h4 id="example-92">Example</h4>

</div><div id="wmd-preview-section-609" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> initialize = _.once(createApplication);<br>initialize();<br>initialize();<br><span class="hljs-comment">// `initialize` invokes `createApplication` once</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-610" class="wmd-preview-section preview-content">

<h3 id="partialfunc-partials"><a id="_partialfunc-partials" href="http://undefined" target="_blank"></a><code>_.partial(func, [partials])</code></h3>

<p><a href="#_partialfunc-partials">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8204" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.partial" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes <code>func</code> with <code>partial</code> arguments prepended <br>
to those provided to the new function. This method is like <code>_.bind</code> except <br>
it does <strong>not</strong> alter the <code>this</code> binding. <br>
<br>
<br>
The <code>_.partial.placeholder</code> value, which defaults to <code>_</code> in monolithic <br>
builds, may be used as a placeholder for partially applied arguments. <br>
<br>
<br>
<strong>Note:</strong> This method does not set the “length” property of partially <br>
applied functions.</p>

</div><div id="wmd-preview-section-611" class="wmd-preview-section preview-content">

<h4 id="arguments-87">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to partially apply arguments to.</li>
<li rel="2"><code>[partials]</code> <em>(…*)</em>: The arguments to be partially applied.</li>
</ol>

</div><div id="wmd-preview-section-612" class="wmd-preview-section preview-content">

<h4 id="returns-93">Returns</h4>

<p><em>(Function)</em>:  Returns the new partially applied function.</p>

</div><div id="wmd-preview-section-613" class="wmd-preview-section preview-content">

<h4 id="example-93">Example</h4>

</div><div id="wmd-preview-section-614" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> greet = <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(greeting, name)</span> </span>{<br>  <span class="hljs-keyword">return</span> greeting + <span class="hljs-string">' '</span> + name;<br>};<br><br><span class="hljs-keyword">var</span> sayHelloTo = _.partial(greet, <span class="hljs-string">'hello'</span>);<br>sayHelloTo(<span class="hljs-string">'fred'</span>);<br><span class="hljs-comment">// =&gt; 'hello fred'</span><br><br><span class="hljs-comment">// using placeholders</span><br><span class="hljs-keyword">var</span> greetFred = _.partial(greet, _, <span class="hljs-string">'fred'</span>);<br>greetFred(<span class="hljs-string">'hi'</span>);<br><span class="hljs-comment">// =&gt; 'hi fred'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-615" class="wmd-preview-section preview-content">

<h3 id="partialrightfunc-partials"><a id="_partialrightfunc-partials" href="http://undefined" target="_blank"></a><code>_.partialRight(func, [partials])</code></h3>

<p><a href="#_partialrightfunc-partials">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8237" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.partialright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.partial</code> except that partially applied arguments <br>
are appended to those provided to the new function. <br>
<br>
<br>
The <code>_.partialRight.placeholder</code> value, which defaults to <code>_</code> in monolithic <br>
builds, may be used as a placeholder for partially applied arguments. <br>
<br>
<br>
<strong>Note:</strong> This method does not set the “length” property of partially <br>
applied functions.</p>

</div><div id="wmd-preview-section-616" class="wmd-preview-section preview-content">

<h4 id="arguments-88">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to partially apply arguments to.</li>
<li rel="2"><code>[partials]</code> <em>(…*)</em>: The arguments to be partially applied.</li>
</ol>

</div><div id="wmd-preview-section-617" class="wmd-preview-section preview-content">

<h4 id="returns-94">Returns</h4>

<p><em>(Function)</em>:  Returns the new partially applied function.</p>

</div><div id="wmd-preview-section-618" class="wmd-preview-section preview-content">

<h4 id="example-94">Example</h4>

</div><div id="wmd-preview-section-619" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> greet = <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(greeting, name)</span> </span>{<br>  <span class="hljs-keyword">return</span> greeting + <span class="hljs-string">' '</span> + name;<br>};<br><br><span class="hljs-keyword">var</span> greetFred = _.partialRight(greet, <span class="hljs-string">'fred'</span>);<br>greetFred(<span class="hljs-string">'hi'</span>);<br><span class="hljs-comment">// =&gt; 'hi fred'</span><br><br><span class="hljs-comment">// using placeholders</span><br><span class="hljs-keyword">var</span> sayHelloTo = _.partialRight(greet, <span class="hljs-string">'hello'</span>, _);<br>sayHelloTo(<span class="hljs-string">'fred'</span>);<br><span class="hljs-comment">// =&gt; 'hello fred'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-620" class="wmd-preview-section preview-content">

<h3 id="reargfunc-indexes"><a id="_reargfunc-indexes" href="http://undefined" target="_blank"></a><code>_.rearg(func, indexes)</code></h3>

<p><a href="#_reargfunc-indexes">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8267" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.rearg" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes <code>func</code> with arguments arranged according <br>
to the specified indexes where the argument value at the first index is <br>
provided as the first argument, the argument value at the second index is <br>
provided as the second argument, and so on.</p>

</div><div id="wmd-preview-section-621" class="wmd-preview-section preview-content">

<h4 id="arguments-89">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to rearrange arguments for.</li>
<li rel="2"><code>indexes</code> <em>(…(number|number[])</em>: The arranged argument indexes, specified as individual indexes or arrays of indexes.</li>
</ol>

</div><div id="wmd-preview-section-622" class="wmd-preview-section preview-content">

<h4 id="returns-95">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-623" class="wmd-preview-section preview-content">

<h4 id="example-95">Example</h4>

</div><div id="wmd-preview-section-624" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> rearged = _.rearg(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(a, b, c)</span> </span>{<br>  <span class="hljs-keyword">return</span> [a, b, c];<br>}, <span class="hljs-number">2</span>, <span class="hljs-number">0</span>, <span class="hljs-number">1</span>);<br><br>rearged(<span class="hljs-string">'b'</span>, <span class="hljs-string">'c'</span>, <span class="hljs-string">'a'</span>)<br><span class="hljs-comment">// =&gt; ['a', 'b', 'c']</span><br><br><span class="hljs-keyword">var</span> map = _.rearg(_.map, [<span class="hljs-number">1</span>, <span class="hljs-number">0</span>]);<br>map(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n * <span class="hljs-number">3</span>;<br>}, [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; [3, 6, 9]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-625" class="wmd-preview-section preview-content">

<h3 id="restparamfunc-startfunclength-1"><a id="_restparamfunc-startfunclength-1" href="http://undefined" target="_blank"></a><code>_.restParam(func, [start=func.length-1])</code></h3>

<p><a href="#_restparamfunc-startfunclength-1">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8293" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.restparam" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes <code>func</code> with the <code>this</code> binding of the <br>
created function and arguments from <code>start</code> and beyond provided as an array. <br>
<br>
<br>
<strong>Note:</strong> This method is based on the <a href="https://developer.mozilla.org/Web/JavaScript/Reference/Functions/rest_parameters" target="_blank">rest parameter</a>.</p>

</div><div id="wmd-preview-section-626" class="wmd-preview-section preview-content">

<h4 id="arguments-90">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to apply a rest parameter to.</li>
<li rel="2"><code>[start=func.length-1]</code> <em>(number)</em>: The start position of the rest parameter.</li>
</ol>

</div><div id="wmd-preview-section-627" class="wmd-preview-section preview-content">

<h4 id="returns-96">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-628" class="wmd-preview-section preview-content">

<h4 id="example-96">Example</h4>

</div><div id="wmd-preview-section-629" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> say = _.restParam(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(what, names)</span> </span>{<br>  <span class="hljs-keyword">return</span> what + <span class="hljs-string">' '</span> + _.initial(names).join(<span class="hljs-string">', '</span>) +<br>    (_.size(names) &gt; <span class="hljs-number">1</span> ? <span class="hljs-string">', &amp; '</span> : <span class="hljs-string">''</span>) + _.last(names);<br>});<br><br>say(<span class="hljs-string">'hello'</span>, <span class="hljs-string">'fred'</span>, <span class="hljs-string">'barney'</span>, <span class="hljs-string">'pebbles'</span>);<br><span class="hljs-comment">// =&gt; 'hello fred, barney, &amp; pebbles'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-630" class="wmd-preview-section preview-content">

<h3 id="spreadfunc"><a id="_spreadfunc" href="http://undefined" target="_blank"></a><code>_.spread(func)</code></h3>

<p><a href="#_spreadfunc">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8353" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.spread" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes <code>func</code> with the <code>this</code> binding of the created <br>
function and an array of arguments much like <a href="https://es5.github.io/#x15.3.4.3" target="_blank"><code>Function#apply</code></a>. <br>
<br>
<br>
<strong>Note:</strong> This method is based on the <a href="https://developer.mozilla.org/Web/JavaScript/Reference/Operators/Spread_operator" target="_blank">spread operator</a>.</p>

</div><div id="wmd-preview-section-631" class="wmd-preview-section preview-content">

<h4 id="arguments-91">Arguments</h4>

<ol start="1"><li rel="1"><code>func</code> <em>(Function)</em>: The function to spread arguments over.</li>
</ol>

</div><div id="wmd-preview-section-632" class="wmd-preview-section preview-content">

<h4 id="returns-97">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-633" class="wmd-preview-section preview-content">

<h4 id="example-97">Example</h4>

</div><div id="wmd-preview-section-634" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> say = _.spread(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(who, what)</span> </span>{<br>  <span class="hljs-keyword">return</span> who + <span class="hljs-string">' says '</span> + what;<br>});<br><br>say([<span class="hljs-string">'fred'</span>, <span class="hljs-string">'hello'</span>]);<br><span class="hljs-comment">// =&gt; 'fred says hello'</span><br><br><span class="hljs-comment">// with a Promise</span><br><span class="hljs-keyword">var</span> numbers = Promise.all([<br>  Promise.resolve(<span class="hljs-number">40</span>),<br>  Promise.resolve(<span class="hljs-number">36</span>)<br>]);<br><br>numbers.then(_.spread(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(x, y)</span> </span>{<br>  <span class="hljs-keyword">return</span> x + y;<br>}));<br><span class="hljs-comment">// =&gt; a Promise of 76</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-635" class="wmd-preview-section preview-content">

<h3 id="throttlefunc-wait0-options"><a id="_throttlefunc-wait0-options" href="http://undefined" target="_blank"></a><code>_.throttle(func, [wait=0], [options])</code></h3>

<p><a href="#_throttlefunc-wait0-options">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8401" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.throttle" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a throttled function that only invokes <code>func</code> at most once per <br>
every <code>wait</code> milliseconds. The throttled function comes with a <code>cancel</code> <br>
method to cancel delayed invocations. Provide an options object to indicate <br>
that <code>func</code> should be invoked on the leading and/or trailing edge of the <br>
<code>wait</code> timeout. Subsequent calls to the throttled function return the <br>
result of the last <code>func</code> call. <br>
<br>
<br>
<strong>Note:</strong> If <code>leading</code> and <code>trailing</code> options are <code>true</code>, <code>func</code> is invoked <br>
on the trailing edge of the timeout only if the the throttled function is <br>
invoked more than once during the <code>wait</code> timeout. <br>
<br>
<br>
See <a href="http://drupalmotion.com/article/debounce-and-throttle-visual-explanation" target="_blank">David Corbacho’s article</a> <br>
for details over the differences between <code>_.throttle</code> and <code>_.debounce</code>.</p>

</div><div id="wmd-preview-section-636" class="wmd-preview-section preview-content">

<h4 id="arguments-92">Arguments</h4>

<ol><li rel="1"><code>func</code> <em>(Function)</em>: The function to throttle.</li>
<li rel="2"><code>[wait=0]</code> <em>(number)</em>: The number of milliseconds to throttle invocations to.</li>
<li rel="3"><code>[options]</code> <em>(Object)</em>: The options object.</li>
<li rel="4"><code>[options.leading=true]</code> <em>(boolean)</em>: Specify invoking on the leading edge of the timeout.</li>
<li rel="5"><code>[options.trailing=true]</code> <em>(boolean)</em>: Specify invoking on the trailing edge of the timeout.</li>
</ol>

</div><div id="wmd-preview-section-637" class="wmd-preview-section preview-content">

<h4 id="returns-98">Returns</h4>

<p><em>(Function)</em>:  Returns the new throttled function.</p>

</div><div id="wmd-preview-section-638" class="wmd-preview-section preview-content">

<h4 id="example-98">Example</h4>

</div><div id="wmd-preview-section-639" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-comment">// avoid excessively updating the position while scrolling</span><br>jQuery(<span class="hljs-built_in">window</span>).on(<span class="hljs-string">'scroll'</span>, _.throttle(updatePosition, <span class="hljs-number">100</span>));<br><br><span class="hljs-comment">// invoke `renewToken` when the click event is fired, but not more than once every 5 minutes</span><br>jQuery(<span class="hljs-string">'.interactive'</span>).on(<span class="hljs-string">'click'</span>, _.throttle(renewToken, <span class="hljs-number">300000</span>, {<br>  <span class="hljs-string">'trailing'</span>: <span class="hljs-literal">false</span><br>}));<br><br><span class="hljs-comment">// cancel a trailing throttled call</span><br>jQuery(<span class="hljs-built_in">window</span>).on(<span class="hljs-string">'popstate'</span>, throttled.cancel);<br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-640" class="wmd-preview-section preview-content">

<h3 id="wrapvalue-wrapper"><a id="_wrapvalue-wrapper" href="http://undefined" target="_blank"></a><code>_.wrap(value, wrapper)</code></h3>

<p><a href="#_wrapvalue-wrapper">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8438" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.wrap" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that provides <code>value</code> to the wrapper function as its <br>
first argument. Any additional arguments provided to the function are <br>
appended to those provided to the wrapper function. The wrapper is invoked <br>
with the <code>this</code> binding of the created function.</p>

</div><div id="wmd-preview-section-641" class="wmd-preview-section preview-content">

<h4 id="arguments-93">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to wrap.</li>
<li rel="2"><code>wrapper</code> <em>(Function)</em>: The wrapper function.</li>
</ol>

</div><div id="wmd-preview-section-642" class="wmd-preview-section preview-content">

<h4 id="returns-99">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-643" class="wmd-preview-section preview-content">

<h4 id="example-99">Example</h4>

</div><div id="wmd-preview-section-644" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> p = _.wrap(_.escape, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(func, text)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-string">'&lt;p&gt;'</span> + func(text) + <span class="hljs-string">'&lt;/p&gt;'</span>;<br>});<br><br>p(<span class="hljs-string">'fred, barney, &amp; pebbles'</span>);<br><span class="hljs-comment">// =&gt; '&lt;p&gt;fred, barney, &amp;amp; pebbles&lt;/p&gt;'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-645" class="wmd-preview-section preview-content">

<h2 id="lang-methods"><code>“Lang” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-646" class="wmd-preview-section preview-content">

<h3 id="clonevalue-isdeep-customizer-thisarg"><a id="_clonevalue-isdeep-customizer-thisarg" href="http://undefined" target="_blank"></a><code>_.clone(value, [isDeep], [customizer], [thisArg])</code></h3>

<p><a href="#_clonevalue-isdeep-customizer-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8496" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.clone" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a clone of <code>value</code>. If <code>isDeep</code> is <code>true</code> nested objects are cloned, <br>
otherwise they are assigned by reference. If <code>customizer</code> is provided it’s <br>
invoked to produce the cloned values. If <code>customizer</code> returns <code>undefined</code> <br>
cloning is handled by the method instead. The <code>customizer</code> is bound to <br>
<code>thisArg</code> and invoked with up to three argument; (value [, index|key, object]). <br>
<br>
<br>
<strong>Note:</strong> This method is loosely based on the <br>
<a href="http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm" target="_blank">structured clone algorithm</a>. <br>
The enumerable properties of <code>arguments</code> objects and objects created by <br>
constructors other than <code>Object</code> are cloned to plain <code>Object</code> objects. An <br>
empty object is returned for uncloneable values such as functions, DOM nodes, <br>
Maps, Sets, and WeakMaps.</p>

</div><div id="wmd-preview-section-647" class="wmd-preview-section preview-content">

<h4 id="arguments-94">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to clone.</li>
<li rel="2"><code>[isDeep]</code> <em>(boolean)</em>: Specify a deep clone.</li>
<li rel="3"><code>[customizer]</code> <em>(Function)</em>: The function to customize cloning values.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>customizer</code>.</li>
</ol>

</div><div id="wmd-preview-section-648" class="wmd-preview-section preview-content">

<h4 id="returns-100">Returns</h4>

<p><em>(*)</em>:  Returns the cloned value.</p>

</div><div id="wmd-preview-section-649" class="wmd-preview-section preview-content">

<h4 id="example-100">Example</h4>

</div><div id="wmd-preview-section-650" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> }<br>];<br><br><span class="hljs-keyword">var</span> shallow = _.clone(users);<br>shallow[<span class="hljs-number">0</span>] === users[<span class="hljs-number">0</span>];<br><span class="hljs-comment">// =&gt; true</span><br><br><span class="hljs-keyword">var</span> deep = _.clone(users, <span class="hljs-literal">true</span>);<br>deep[<span class="hljs-number">0</span>] === users[<span class="hljs-number">0</span>];<br><span class="hljs-comment">// =&gt; false</span><br><br><span class="hljs-comment">// using a customizer callback</span><br><span class="hljs-keyword">var</span> el = _.clone(<span class="hljs-built_in">document</span>.body, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value)</span> </span>{<br>  <span class="hljs-keyword">if</span> (_.isElement(value)) {<br>    <span class="hljs-keyword">return</span> value.cloneNode(<span class="hljs-literal">false</span>);<br>  }<br>});<br><br>el === <span class="hljs-built_in">document</span>.body<br><span class="hljs-comment">// =&gt; false</span><br>el.nodeName<br><span class="hljs-comment">// =&gt; BODY</span><br>el.childNodes.length;<br><span class="hljs-comment">// =&gt; 0</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-651" class="wmd-preview-section preview-content">

<h3 id="clonedeepvalue-customizer-thisarg"><a id="_clonedeepvalue-customizer-thisarg" href="http://undefined" target="_blank"></a><code>_.cloneDeep(value, [customizer], [thisArg])</code></h3>

<p><a href="#_clonedeepvalue-customizer-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8555" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.clonedeep" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a deep clone of <code>value</code>. If <code>customizer</code> is provided it’s invoked <br>
to produce the cloned values. If <code>customizer</code> returns <code>undefined</code> cloning <br>
is handled by the method instead. The <code>customizer</code> is bound to <code>thisArg</code> <br>
and invoked with up to three argument; (value [, index|key, object]). <br>
<br>
<br>
<strong>Note:</strong> This method is loosely based on the <br>
<a href="http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm" target="_blank">structured clone algorithm</a>. <br>
The enumerable properties of <code>arguments</code> objects and objects created by <br>
constructors other than <code>Object</code> are cloned to plain <code>Object</code> objects. An <br>
empty object is returned for uncloneable values such as functions, DOM nodes, <br>
Maps, Sets, and WeakMaps.</p>

</div><div id="wmd-preview-section-652" class="wmd-preview-section preview-content">

<h4 id="arguments-95">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to deep clone.</li>
<li rel="2"><code>[customizer]</code> <em>(Function)</em>: The function to customize cloning values.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>customizer</code>.</li>
</ol>

</div><div id="wmd-preview-section-653" class="wmd-preview-section preview-content">

<h4 id="returns-101">Returns</h4>

<p><em>(*)</em>:  Returns the deep cloned value.</p>

</div><div id="wmd-preview-section-654" class="wmd-preview-section preview-content">

<h4 id="example-101">Example</h4>

</div><div id="wmd-preview-section-655" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> }<br>];<br><br><span class="hljs-keyword">var</span> deep = _.cloneDeep(users);<br>deep[<span class="hljs-number">0</span>] === users[<span class="hljs-number">0</span>];<br><span class="hljs-comment">// =&gt; false</span><br><br><span class="hljs-comment">// using a customizer callback</span><br><span class="hljs-keyword">var</span> el = _.cloneDeep(<span class="hljs-built_in">document</span>.body, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value)</span> </span>{<br>  <span class="hljs-keyword">if</span> (_.isElement(value)) {<br>    <span class="hljs-keyword">return</span> value.cloneNode(<span class="hljs-literal">true</span>);<br>  }<br>});<br><br>el === <span class="hljs-built_in">document</span>.body<br><span class="hljs-comment">// =&gt; false</span><br>el.nodeName<br><span class="hljs-comment">// =&gt; BODY</span><br>el.childNodes.length;<br><span class="hljs-comment">// =&gt; 20</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-656" class="wmd-preview-section preview-content">

<h3 id="gtvalue-other"><a id="_gtvalue-other" href="http://undefined" target="_blank"></a><code>_.gt(value, other)</code></h3>

<p><a href="#_gtvalue-other">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8581" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.gt" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is greater than <code>other</code>.</p>

</div><div id="wmd-preview-section-657" class="wmd-preview-section preview-content">

<h4 id="arguments-96">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to compare.</li>
<li rel="2"><code>other</code> <em>(*)</em>: The other value to compare.</li>
</ol>

</div><div id="wmd-preview-section-658" class="wmd-preview-section preview-content">

<h4 id="returns-102">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is greater than <code>other</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-659" class="wmd-preview-section preview-content">

<h4 id="example-102">Example</h4>

</div><div id="wmd-preview-section-660" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.gt(<span class="hljs-number">3</span>, <span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.gt(<span class="hljs-number">3</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.gt(<span class="hljs-number">1</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-661" class="wmd-preview-section preview-content">

<h3 id="gtevalue-other"><a id="_gtevalue-other" href="http://undefined" target="_blank"></a><code>_.gte(value, other)</code></h3>

<p><a href="#_gtevalue-other">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8605" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.gte" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is greater than or equal to <code>other</code>.</p>

</div><div id="wmd-preview-section-662" class="wmd-preview-section preview-content">

<h4 id="arguments-97">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to compare.</li>
<li rel="2"><code>other</code> <em>(*)</em>: The other value to compare.</li>
</ol>

</div><div id="wmd-preview-section-663" class="wmd-preview-section preview-content">

<h4 id="returns-103">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is greater than or equal to <code>other</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-664" class="wmd-preview-section preview-content">

<h4 id="example-103">Example</h4>

</div><div id="wmd-preview-section-665" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.gte(<span class="hljs-number">3</span>, <span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.gte(<span class="hljs-number">3</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.gte(<span class="hljs-number">1</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-666" class="wmd-preview-section preview-content">

<h3 id="isargumentsvalue"><a id="_isargumentsvalue" href="http://undefined" target="_blank"></a><code>_.isArguments(value)</code></h3>

<p><a href="#_isargumentsvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8625" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isarguments" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as an <code>arguments</code> object.</p>

</div><div id="wmd-preview-section-667" class="wmd-preview-section preview-content">

<h4 id="arguments-98">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-668" class="wmd-preview-section preview-content">

<h4 id="returns-104">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-669" class="wmd-preview-section preview-content">

<h4 id="example-104">Example</h4>

</div><div id="wmd-preview-section-670" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isArguments(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span> </span>{ <span class="hljs-keyword">return</span> <span class="hljs-built_in">arguments</span>; }());<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isArguments([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-671" class="wmd-preview-section preview-content">

<h3 id="isarrayvalue"><a id="_isarrayvalue" href="http://undefined" target="_blank"></a><code>_.isArray(value)</code></h3>

<p><a href="#_isarrayvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8646" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isarray" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as an <code>Array</code> object.</p>

</div><div id="wmd-preview-section-672" class="wmd-preview-section preview-content">

<h4 id="arguments-99">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-673" class="wmd-preview-section preview-content">

<h4 id="returns-105">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-674" class="wmd-preview-section preview-content">

<h4 id="example-105">Example</h4>

</div><div id="wmd-preview-section-675" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isArray([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isArray(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span> </span>{ <span class="hljs-keyword">return</span> <span class="hljs-built_in">arguments</span>; }());<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-676" class="wmd-preview-section preview-content">

<h3 id="isbooleanvalue"><a id="_isbooleanvalue" href="http://undefined" target="_blank"></a><code>_.isBoolean(value)</code></h3>

<p><a href="#_isbooleanvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8666" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isboolean" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as a boolean primitive or object.</p>

</div><div id="wmd-preview-section-677" class="wmd-preview-section preview-content">

<h4 id="arguments-100">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-678" class="wmd-preview-section preview-content">

<h4 id="returns-106">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-679" class="wmd-preview-section preview-content">

<h4 id="example-106">Example</h4>

</div><div id="wmd-preview-section-680" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isBoolean(<span class="hljs-literal">false</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isBoolean(<span class="hljs-literal">null</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-681" class="wmd-preview-section preview-content">

<h3 id="isdatevalue"><a id="_isdatevalue" href="http://undefined" target="_blank"></a><code>_.isDate(value)</code></h3>

<p><a href="#_isdatevalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8686" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isdate" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as a <code>Date</code> object.</p>

</div><div id="wmd-preview-section-682" class="wmd-preview-section preview-content">

<h4 id="arguments-101">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-683" class="wmd-preview-section preview-content">

<h4 id="returns-107">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-684" class="wmd-preview-section preview-content">

<h4 id="example-107">Example</h4>

</div><div id="wmd-preview-section-685" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isDate(<span class="hljs-keyword">new</span> <span class="hljs-built_in">Date</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isDate(<span class="hljs-string">'Mon April 23 2012'</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-686" class="wmd-preview-section preview-content">

<h3 id="iselementvalue"><a id="_iselementvalue" href="http://undefined" target="_blank"></a><code>_.isElement(value)</code></h3>

<p><a href="#_iselementvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8706" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.iselement" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is a DOM element.</p>

</div><div id="wmd-preview-section-687" class="wmd-preview-section preview-content">

<h4 id="arguments-102">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-688" class="wmd-preview-section preview-content">

<h4 id="returns-108">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is a DOM element, else <code>false</code>.</p>

</div><div id="wmd-preview-section-689" class="wmd-preview-section preview-content">

<h4 id="example-108">Example</h4>

</div><div id="wmd-preview-section-690" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isElement(<span class="hljs-built_in">document</span>.body);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isElement(<span class="hljs-string">'&lt;body&gt;'</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-691" class="wmd-preview-section preview-content">

<h3 id="isemptyvalue"><a id="_isemptyvalue" href="http://undefined" target="_blank"></a><code>_.isEmpty(value)</code></h3>

<p><a href="#_isemptyvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8737" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isempty" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is empty. A value is considered empty unless it’s an <br>
<code>arguments</code> object, array, string, or jQuery-like collection with a length <br>
greater than <code>0</code> or an object with own enumerable properties.</p>

</div><div id="wmd-preview-section-692" class="wmd-preview-section preview-content">

<h4 id="arguments-103">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(Array|Object|string)</em>: The value to inspect.</li>
</ol>

</div><div id="wmd-preview-section-693" class="wmd-preview-section preview-content">

<h4 id="returns-109">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is empty, else <code>false</code>.</p>

</div><div id="wmd-preview-section-694" class="wmd-preview-section preview-content">

<h4 id="example-109">Example</h4>

</div><div id="wmd-preview-section-695" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isEmpty(<span class="hljs-literal">null</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isEmpty(<span class="hljs-literal">true</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isEmpty(<span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isEmpty([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.isEmpty({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span> });<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-696" class="wmd-preview-section preview-content">

<h3 id="isequalvalue-other-customizer-thisarg"><a id="_isequalvalue-other-customizer-thisarg" href="http://undefined" target="_blank"></a><code>_.isEqual(value, other, [customizer], [thisArg])</code></h3>

<p><a href="#_isequalvalue-other-customizer-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8792" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isequal" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Performs a deep comparison between two values to determine if they are <br>
equivalent. If <code>customizer</code> is provided it’s invoked to compare values. <br>
If <code>customizer</code> returns <code>undefined</code> comparisons are handled by the method <br>
instead. The <code>customizer</code> is bound to <code>thisArg</code> and invoked with up to <br>
three arguments: (value, other [, index|key]). <br>
<br>
<br>
<strong>Note:</strong> This method supports comparing arrays, booleans, <code>Date</code> objects, <br>
numbers, <code>Object</code> objects, regexes, and strings. Objects are compared by <br>
their own, not inherited, enumerable properties. Functions and DOM nodes <br>
are <strong>not</strong> supported. Provide a customizer function to extend support <br>
for comparing other values.</p>

</div><div id="wmd-preview-section-697" class="wmd-preview-section preview-content">

<h4 id="aliases-16">Aliases</h4>

<p><em>_.eq</em></p>

</div><div id="wmd-preview-section-698" class="wmd-preview-section preview-content">

<h4 id="arguments-104">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to compare.</li>
<li rel="2"><code>other</code> <em>(*)</em>: The other value to compare.</li>
<li rel="3"><code>[customizer]</code> <em>(Function)</em>: The function to customize value comparisons.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>customizer</code>.</li>
</ol>

</div><div id="wmd-preview-section-699" class="wmd-preview-section preview-content">

<h4 id="returns-110">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if the values are equivalent, else <code>false</code>.</p>

</div><div id="wmd-preview-section-700" class="wmd-preview-section preview-content">

<h4 id="example-110">Example</h4>

</div><div id="wmd-preview-section-701" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> };<br><span class="hljs-keyword">var</span> other = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> };<br><br>object == other;<br><span class="hljs-comment">// =&gt; false</span><br><br>_.isEqual(object, other);<br><span class="hljs-comment">// =&gt; true</span><br><br><span class="hljs-comment">// using a customizer callback</span><br><span class="hljs-keyword">var</span> array = [<span class="hljs-string">'hello'</span>, <span class="hljs-string">'goodbye'</span>];<br><span class="hljs-keyword">var</span> other = [<span class="hljs-string">'hi'</span>, <span class="hljs-string">'goodbye'</span>];<br><br>_.isEqual(array, other, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value, other)</span> </span>{<br>  <span class="hljs-keyword">if</span> (_.every([value, other], <span class="hljs-built_in">RegExp</span>.prototype.test, <span class="hljs-regexp">/^h(?:i|ello)$/</span>)) {<br>    <span class="hljs-keyword">return</span> <span class="hljs-literal">true</span>;<br>  }<br>});<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-702" class="wmd-preview-section preview-content">

<h3 id="iserrorvalue"><a id="_iserrorvalue" href="http://undefined" target="_blank"></a><code>_.isError(value)</code></h3>

<p><a href="#_iserrorvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8815" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.iserror" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is an <code>Error</code>, <code>EvalError</code>, <code>RangeError</code>, <code>ReferenceError</code>, <br>
<code>SyntaxError</code>, <code>TypeError</code>, or <code>URIError</code> object.</p>

</div><div id="wmd-preview-section-703" class="wmd-preview-section preview-content">

<h4 id="arguments-105">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-704" class="wmd-preview-section preview-content">

<h4 id="returns-111">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is an error object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-705" class="wmd-preview-section preview-content">

<h4 id="example-111">Example</h4>

</div><div id="wmd-preview-section-706" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isError(<span class="hljs-keyword">new</span> <span class="hljs-built_in">Error</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isError(<span class="hljs-built_in">Error</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-707" class="wmd-preview-section preview-content">

<h3 id="isfinitevalue"><a id="_isfinitevalue" href="http://undefined" target="_blank"></a><code>_.isFinite(value)</code></h3>

<p><a href="#_isfinitevalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8846" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isfinite" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is a finite primitive number. <br>
<br>
<br>
<strong>Note:</strong> This method is based on <a href="http://ecma-international.org/ecma-262/6.0/#sec-number.isfinite" target="_blank"><code>Number.isFinite</code></a>.</p>

</div><div id="wmd-preview-section-708" class="wmd-preview-section preview-content">

<h4 id="arguments-106">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-709" class="wmd-preview-section preview-content">

<h4 id="returns-112">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is a finite number, else <code>false</code>.</p>

</div><div id="wmd-preview-section-710" class="wmd-preview-section preview-content">

<h4 id="example-112">Example</h4>

</div><div id="wmd-preview-section-711" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isFinite(<span class="hljs-number">10</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isFinite(<span class="hljs-string">'10'</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.isFinite(<span class="hljs-literal">true</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.isFinite(<span class="hljs-built_in">Object</span>(<span class="hljs-number">10</span>));<br><span class="hljs-comment">// =&gt; false</span><br><br>_.isFinite(<span class="hljs-literal">Infinity</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-712" class="wmd-preview-section preview-content">

<h3 id="isfunctionvalue"><a id="_isfunctionvalue" href="http://undefined" target="_blank"></a><code>_.isFunction(value)</code></h3>

<p><a href="#_isfunctionvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8866" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isfunction" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as a <code>Function</code> object.</p>

</div><div id="wmd-preview-section-713" class="wmd-preview-section preview-content">

<h4 id="arguments-107">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-714" class="wmd-preview-section preview-content">

<h4 id="returns-113">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-715" class="wmd-preview-section preview-content">

<h4 id="example-113">Example</h4>

</div><div id="wmd-preview-section-716" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isFunction(_);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isFunction(<span class="hljs-regexp">/abc/</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-717" class="wmd-preview-section preview-content">

<h3 id="ismatchobject-source-customizer-thisarg"><a id="_ismatchobject-source-customizer-thisarg" href="http://undefined" target="_blank"></a><code>_.isMatch(object, source, [customizer], [thisArg])</code></h3>

<p><a href="#_ismatchobject-source-customizer-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8939" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.ismatch" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Performs a deep comparison between <code>object</code> and <code>source</code> to determine if <br>
<code>object</code> contains equivalent property values. If <code>customizer</code> is provided <br>
it’s invoked to compare values. If <code>customizer</code> returns <code>undefined</code> <br>
comparisons are handled by the method instead. The <code>customizer</code> is bound <br>
to <code>thisArg</code> and invoked with three arguments: (value, other, index|key). <br>
<br>
<br>
<strong>Note:</strong> This method supports comparing properties of arrays, booleans, <br>
<code>Date</code> objects, numbers, <code>Object</code> objects, regexes, and strings. Functions <br>
and DOM nodes are <strong>not</strong> supported. Provide a customizer function to extend <br>
support for comparing other values.</p>

</div><div id="wmd-preview-section-718" class="wmd-preview-section preview-content">

<h4 id="arguments-108">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to inspect.</li>
<li rel="2"><code>source</code> <em>(Object)</em>: The object of property values to match.</li>
<li rel="3"><code>[customizer]</code> <em>(Function)</em>: The function to customize value comparisons.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>customizer</code>.</li>
</ol>

</div><div id="wmd-preview-section-719" class="wmd-preview-section preview-content">

<h4 id="returns-114">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>object</code> is a match, else <code>false</code>.</p>

</div><div id="wmd-preview-section-720" class="wmd-preview-section preview-content">

<h4 id="example-114">Example</h4>

</div><div id="wmd-preview-section-721" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> };<br><br>_.isMatch(object, { <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> });<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isMatch(object, { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> });<br><span class="hljs-comment">// =&gt; false</span><br><br><span class="hljs-comment">// using a customizer callback</span><br><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'greeting'</span>: <span class="hljs-string">'hello'</span> };<br><span class="hljs-keyword">var</span> source = { <span class="hljs-string">'greeting'</span>: <span class="hljs-string">'hi'</span> };<br><br>_.isMatch(object, source, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value, other)</span> </span>{<br>  <span class="hljs-keyword">return</span> _.every([value, other], <span class="hljs-built_in">RegExp</span>.prototype.test, <span class="hljs-regexp">/^h(?:i|ello)$/</span>) || <span class="hljs-literal">undefined</span>;<br>});<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-722" class="wmd-preview-section preview-content">

<h3 id="isnanvalue"><a id="_isnanvalue" href="http://undefined" target="_blank"></a><code>_.isNaN(value)</code></h3>

<p><a href="#_isnanvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8969" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isnan" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is <code>NaN</code>. <br>
<br>
<br>
<strong>Note:</strong> This method is not the same as <a href="https://es5.github.io/#x15.1.2.4" target="_blank"><code>isNaN</code></a> <br>
which returns <code>true</code> for <code>undefined</code> and other non-numeric values.</p>

</div><div id="wmd-preview-section-723" class="wmd-preview-section preview-content">

<h4 id="arguments-109">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-724" class="wmd-preview-section preview-content">

<h4 id="returns-115">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is <code>NaN</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-725" class="wmd-preview-section preview-content">

<h4 id="example-115">Example</h4>

</div><div id="wmd-preview-section-726" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isNaN(<span class="hljs-literal">NaN</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isNaN(<span class="hljs-keyword">new</span> <span class="hljs-built_in">Number</span>(<span class="hljs-literal">NaN</span>));<br><span class="hljs-comment">// =&gt; true</span><br><br><span class="hljs-built_in">isNaN</span>(<span class="hljs-literal">undefined</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isNaN(<span class="hljs-literal">undefined</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-727" class="wmd-preview-section preview-content">

<h3 id="isnativevalue"><a id="_isnativevalue" href="http://undefined" target="_blank"></a><code>_.isNative(value)</code></h3>

<p><a href="#_isnativevalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8991" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isnative" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is a native function.</p>

</div><div id="wmd-preview-section-728" class="wmd-preview-section preview-content">

<h4 id="arguments-110">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-729" class="wmd-preview-section preview-content">

<h4 id="returns-116">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is a native function, else <code>false</code>.</p>

</div><div id="wmd-preview-section-730" class="wmd-preview-section preview-content">

<h4 id="example-116">Example</h4>

</div><div id="wmd-preview-section-731" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isNative(<span class="hljs-built_in">Array</span>.prototype.push);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isNative(_);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-732" class="wmd-preview-section preview-content">

<h3 id="isnullvalue"><a id="_isnullvalue" href="http://undefined" target="_blank"></a><code>_.isNull(value)</code></h3>

<p><a href="#_isnullvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9017" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isnull" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is <code>null</code>.</p>

</div><div id="wmd-preview-section-733" class="wmd-preview-section preview-content">

<h4 id="arguments-111">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-734" class="wmd-preview-section preview-content">

<h4 id="returns-117">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is <code>null</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-735" class="wmd-preview-section preview-content">

<h4 id="example-117">Example</h4>

</div><div id="wmd-preview-section-736" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isNull(<span class="hljs-literal">null</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isNull(<span class="hljs-keyword">void</span> <span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-737" class="wmd-preview-section preview-content">

<h3 id="isnumbervalue"><a id="_isnumbervalue" href="http://undefined" target="_blank"></a><code>_.isNumber(value)</code></h3>

<p><a href="#_isnumbervalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9043" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isnumber" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as a <code>Number</code> primitive or object. <br>
<br>
<br>
<strong>Note:</strong> To exclude <code>Infinity</code>, <code>-Infinity</code>, and <code>NaN</code>, which are classified <br>
as numbers, use the <code>_.isFinite</code> method.</p>

</div><div id="wmd-preview-section-738" class="wmd-preview-section preview-content">

<h4 id="arguments-112">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-739" class="wmd-preview-section preview-content">

<h4 id="returns-118">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-740" class="wmd-preview-section preview-content">

<h4 id="example-118">Example</h4>

</div><div id="wmd-preview-section-741" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isNumber(<span class="hljs-number">8.4</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isNumber(<span class="hljs-literal">NaN</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isNumber(<span class="hljs-string">'8.4'</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-742" class="wmd-preview-section preview-content">

<h3 id="isobjectvalue"><a id="_isobjectvalue" href="http://undefined" target="_blank"></a><code>_.isObject(value)</code></h3>

<p><a href="#_isobjectvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L8893" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isobject" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is the <a href="https://es5.github.io/#x8" target="_blank">language type</a> of <code>Object</code>. <br>
(e.g. arrays, functions, objects, regexes, <code>new Number(0)</code>, and <code>new String('')</code>)</p>

</div><div id="wmd-preview-section-743" class="wmd-preview-section preview-content">

<h4 id="arguments-113">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-744" class="wmd-preview-section preview-content">

<h4 id="returns-119">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is an object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-745" class="wmd-preview-section preview-content">

<h4 id="example-119">Example</h4>

</div><div id="wmd-preview-section-746" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isObject({});<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isObject([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isObject(<span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-747" class="wmd-preview-section preview-content">

<h3 id="isplainobjectvalue"><a id="_isplainobjectvalue" href="http://undefined" target="_blank"></a><code>_.isPlainObject(value)</code></h3>

<p><a href="#_isplainobjectvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9077" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isplainobject" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is a plain object, that is, an object created by the <br>
<code>Object</code> constructor or one with a <code>[[Prototype]]</code> of <code>null</code>. <br>
<br>
<br>
<strong>Note:</strong> This method assumes objects created by the <code>Object</code> constructor <br>
have no inherited enumerable properties.</p>

</div><div id="wmd-preview-section-748" class="wmd-preview-section preview-content">

<h4 id="arguments-114">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-749" class="wmd-preview-section preview-content">

<h4 id="returns-120">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is a plain object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-750" class="wmd-preview-section preview-content">

<h4 id="example-120">Example</h4>

</div><div id="wmd-preview-section-751" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>}<br><br>_.isPlainObject(<span class="hljs-keyword">new</span> Foo);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.isPlainObject([<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>]);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.isPlainObject({ <span class="hljs-string">'x'</span>: <span class="hljs-number">0</span>, <span class="hljs-string">'y'</span>: <span class="hljs-number">0</span> });<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isPlainObject(<span class="hljs-built_in">Object</span>.create(<span class="hljs-literal">null</span>));<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-752" class="wmd-preview-section preview-content">

<h3 id="isregexpvalue"><a id="_isregexpvalue" href="http://undefined" target="_blank"></a><code>_.isRegExp(value)</code></h3>

<p><a href="#_isregexpvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9121" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isregexp" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as a <code>RegExp</code> object.</p>

</div><div id="wmd-preview-section-753" class="wmd-preview-section preview-content">

<h4 id="arguments-115">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-754" class="wmd-preview-section preview-content">

<h4 id="returns-121">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-755" class="wmd-preview-section preview-content">

<h4 id="example-121">Example</h4>

</div><div id="wmd-preview-section-756" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isRegExp(<span class="hljs-regexp">/abc/</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isRegExp(<span class="hljs-string">'/abc/'</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-757" class="wmd-preview-section preview-content">

<h3 id="isstringvalue"><a id="_isstringvalue" href="http://undefined" target="_blank"></a><code>_.isString(value)</code></h3>

<p><a href="#_isstringvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9141" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isstring" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as a <code>String</code> primitive or object.</p>

</div><div id="wmd-preview-section-758" class="wmd-preview-section preview-content">

<h4 id="arguments-116">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-759" class="wmd-preview-section preview-content">

<h4 id="returns-122">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-760" class="wmd-preview-section preview-content">

<h4 id="example-122">Example</h4>

</div><div id="wmd-preview-section-761" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isString(<span class="hljs-string">'abc'</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isString(<span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-762" class="wmd-preview-section preview-content">

<h3 id="istypedarrayvalue"><a id="_istypedarrayvalue" href="http://undefined" target="_blank"></a><code>_.isTypedArray(value)</code></h3>

<p><a href="#_istypedarrayvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9161" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.istypedarray" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is classified as a typed array.</p>

</div><div id="wmd-preview-section-763" class="wmd-preview-section preview-content">

<h4 id="arguments-117">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-764" class="wmd-preview-section preview-content">

<h4 id="returns-123">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is correctly classified, else <code>false</code>.</p>

</div><div id="wmd-preview-section-765" class="wmd-preview-section preview-content">

<h4 id="example-123">Example</h4>

</div><div id="wmd-preview-section-766" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isTypedArray(<span class="hljs-keyword">new</span> <span class="hljs-built_in">Uint8Array</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isTypedArray([]);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-767" class="wmd-preview-section preview-content">

<h3 id="isundefinedvalue"><a id="_isundefinedvalue" href="http://undefined" target="_blank"></a><code>_.isUndefined(value)</code></h3>

<p><a href="#_isundefinedvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9181" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.isundefined" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is <code>undefined</code>.</p>

</div><div id="wmd-preview-section-768" class="wmd-preview-section preview-content">

<h4 id="arguments-118">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to check.</li>
</ol>

</div><div id="wmd-preview-section-769" class="wmd-preview-section preview-content">

<h4 id="returns-124">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is <code>undefined</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-770" class="wmd-preview-section preview-content">

<h4 id="example-124">Example</h4>

</div><div id="wmd-preview-section-771" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.isUndefined(<span class="hljs-keyword">void</span> <span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.isUndefined(<span class="hljs-literal">null</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-772" class="wmd-preview-section preview-content">

<h3 id="ltvalue-other"><a id="_ltvalue-other" href="http://undefined" target="_blank"></a><code>_.lt(value, other)</code></h3>

<p><a href="#_ltvalue-other">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9205" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.lt" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is less than <code>other</code>.</p>

</div><div id="wmd-preview-section-773" class="wmd-preview-section preview-content">

<h4 id="arguments-119">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to compare.</li>
<li rel="2"><code>other</code> <em>(*)</em>: The other value to compare.</li>
</ol>

</div><div id="wmd-preview-section-774" class="wmd-preview-section preview-content">

<h4 id="returns-125">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is less than <code>other</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-775" class="wmd-preview-section preview-content">

<h4 id="example-125">Example</h4>

</div><div id="wmd-preview-section-776" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.lt(<span class="hljs-number">1</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.lt(<span class="hljs-number">3</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.lt(<span class="hljs-number">3</span>, <span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-777" class="wmd-preview-section preview-content">

<h3 id="ltevalue-other"><a id="_ltevalue-other" href="http://undefined" target="_blank"></a><code>_.lte(value, other)</code></h3>

<p><a href="#_ltevalue-other">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9229" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.lte" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>value</code> is less than or equal to <code>other</code>.</p>

</div><div id="wmd-preview-section-778" class="wmd-preview-section preview-content">

<h4 id="arguments-120">Arguments</h4>

<ol><li rel="1"><code>value</code> <em>(*)</em>: The value to compare.</li>
<li rel="2"><code>other</code> <em>(*)</em>: The other value to compare.</li>
</ol>

</div><div id="wmd-preview-section-779" class="wmd-preview-section preview-content">

<h4 id="returns-126">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>value</code> is less than or equal to <code>other</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-780" class="wmd-preview-section preview-content">

<h4 id="example-126">Example</h4>

</div><div id="wmd-preview-section-781" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.lte(<span class="hljs-number">1</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.lte(<span class="hljs-number">3</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.lte(<span class="hljs-number">3</span>, <span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-782" class="wmd-preview-section preview-content">

<h3 id="toarrayvalue"><a id="_toarrayvalue" href="http://undefined" target="_blank"></a><code>_.toArray(value)</code></h3>

<p><a href="#_toarrayvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9248" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.toarray" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Converts <code>value</code> to an array.</p>

</div><div id="wmd-preview-section-783" class="wmd-preview-section preview-content">

<h4 id="arguments-121">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to convert.</li>
</ol>

</div><div id="wmd-preview-section-784" class="wmd-preview-section preview-content">

<h4 id="returns-127">Returns</h4>

<p><em>(Array)</em>:  Returns the converted array.</p>

</div><div id="wmd-preview-section-785" class="wmd-preview-section preview-content">

<h4 id="example-127">Example</h4>

</div><div id="wmd-preview-section-786" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">return</span> _.toArray(<span class="hljs-built_in">arguments</span>).slice(<span class="hljs-number">1</span>);<br>}(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>));<br><span class="hljs-comment">// =&gt; [2, 3]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-787" class="wmd-preview-section preview-content">

<h3 id="toplainobjectvalue"><a id="_toplainobjectvalue" href="http://undefined" target="_blank"></a><code>_.toPlainObject(value)</code></h3>

<p><a href="#_toplainobjectvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9284" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.toplainobject" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Converts <code>value</code> to a plain object flattening inherited enumerable <br>
properties of <code>value</code> to own properties of the plain object.</p>

</div><div id="wmd-preview-section-788" class="wmd-preview-section preview-content">

<h4 id="arguments-122">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to convert.</li>
</ol>

</div><div id="wmd-preview-section-789" class="wmd-preview-section preview-content">

<h4 id="returns-128">Returns</h4>

<p><em>(Object)</em>:  Returns the converted plain object.</p>

</div><div id="wmd-preview-section-790" class="wmd-preview-section preview-content">

<h4 id="example-128">Example</h4>

</div><div id="wmd-preview-section-791" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.assign({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span> }, <span class="hljs-keyword">new</span> Foo);<br><span class="hljs-comment">// =&gt; { 'a': 1, 'b': 2 }</span><br><br>_.assign({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span> }, _.toPlainObject(<span class="hljs-keyword">new</span> Foo));<br><span class="hljs-comment">// =&gt; { 'a': 1, 'b': 2, 'c': 3 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-792" class="wmd-preview-section preview-content">

<h2 id="math-methods"><code>“Math” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-793" class="wmd-preview-section preview-content">

<h3 id="addaugend-addend"><a id="_addaugend-addend" href="http://undefined" target="_blank"></a><code>_.add(augend, addend)</code></h3>

<p><a href="#_addaugend-addend">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11803" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.add" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Adds two numbers.</p>

</div><div id="wmd-preview-section-794" class="wmd-preview-section preview-content">

<h4 id="arguments-123">Arguments</h4>

<ol><li rel="1"><code>augend</code> <em>(number)</em>: The first number to add.</li>
<li rel="2"><code>addend</code> <em>(number)</em>: The second number to add.</li>
</ol>

</div><div id="wmd-preview-section-795" class="wmd-preview-section preview-content">

<h4 id="returns-129">Returns</h4>

<p><em>(number)</em>:  Returns the sum.</p>

</div><div id="wmd-preview-section-796" class="wmd-preview-section preview-content">

<h4 id="example-129">Example</h4>

</div><div id="wmd-preview-section-797" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.add(<span class="hljs-number">6</span>, <span class="hljs-number">4</span>);<br><span class="hljs-comment">// =&gt; 10</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-798" class="wmd-preview-section preview-content">

<h3 id="ceiln-precision0"><a id="_ceiln-precision0" href="http://undefined" target="_blank"></a><code>_.ceil(n, [precision=0])</code></h3>

<p><a href="#_ceiln-precision0">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11827" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.ceil" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Calculates <code>n</code> rounded up to <code>precision</code>.</p>

</div><div id="wmd-preview-section-799" class="wmd-preview-section preview-content">

<h4 id="arguments-124">Arguments</h4>

<ol><li rel="1"><code>n</code> <em>(number)</em>: The number to round up.</li>
<li rel="2"><code>[precision=0]</code> <em>(number)</em>: The precision to round up to.</li>
</ol>

</div><div id="wmd-preview-section-800" class="wmd-preview-section preview-content">

<h4 id="returns-130">Returns</h4>

<p><em>(number)</em>:  Returns the rounded up number.</p>

</div><div id="wmd-preview-section-801" class="wmd-preview-section preview-content">

<h4 id="example-130">Example</h4>

</div><div id="wmd-preview-section-802" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.ceil(<span class="hljs-number">4.006</span>);<br><span class="hljs-comment">// =&gt; 5</span><br><br>_.ceil(<span class="hljs-number">6.004</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 6.01</span><br><br>_.ceil(<span class="hljs-number">6040</span>, -<span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 6100</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-803" class="wmd-preview-section preview-content">

<h3 id="floorn-precision0"><a id="_floorn-precision0" href="http://undefined" target="_blank"></a><code>_.floor(n, [precision=0])</code></h3>

<p><a href="#_floorn-precision0">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11849" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.floor" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Calculates <code>n</code> rounded down to <code>precision</code>.</p>

</div><div id="wmd-preview-section-804" class="wmd-preview-section preview-content">

<h4 id="arguments-125">Arguments</h4>

<ol><li rel="1"><code>n</code> <em>(number)</em>: The number to round down.</li>
<li rel="2"><code>[precision=0]</code> <em>(number)</em>: The precision to round down to.</li>
</ol>

</div><div id="wmd-preview-section-805" class="wmd-preview-section preview-content">

<h4 id="returns-131">Returns</h4>

<p><em>(number)</em>:  Returns the rounded down number.</p>

</div><div id="wmd-preview-section-806" class="wmd-preview-section preview-content">

<h4 id="example-131">Example</h4>

</div><div id="wmd-preview-section-807" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.floor(<span class="hljs-number">4.006</span>);<br><span class="hljs-comment">// =&gt; 4</span><br><br>_.floor(<span class="hljs-number">0.046</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 0.04</span><br><br>_.floor(<span class="hljs-number">4060</span>, -<span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 4000</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-808" class="wmd-preview-section preview-content">

<h3 id="maxcollection-iteratee-thisarg"><a id="_maxcollection-iteratee-thisarg" href="http://undefined" target="_blank"></a><code>_.max(collection, [iteratee], [thisArg])</code></h3>

<p><a href="#_maxcollection-iteratee-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11898" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.max" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the maximum value of <code>collection</code>. If <code>collection</code> is empty or falsey <br>
<code>-Infinity</code> is returned. If an iteratee function is provided it’s invoked <br>
for each value in <code>collection</code> to generate the criterion by which the value <br>
is ranked. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with three <br>
arguments: (value, index, collection). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-809" class="wmd-preview-section preview-content">

<h4 id="arguments-126">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-810" class="wmd-preview-section preview-content">

<h4 id="returns-132">Returns</h4>

<p><em>(*)</em>:  Returns the maximum value.</p>

</div><div id="wmd-preview-section-811" class="wmd-preview-section preview-content">

<h4 id="example-132">Example</h4>

</div><div id="wmd-preview-section-812" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.max([<span class="hljs-number">4</span>, <span class="hljs-number">2</span>, <span class="hljs-number">8</span>, <span class="hljs-number">6</span>]);<br><span class="hljs-comment">// =&gt; 8</span><br><br>_.max([]);<br><span class="hljs-comment">// =&gt; -Infinity</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> }<br>];<br><br>_.max(users, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>  <span class="hljs-keyword">return</span> chr.age;<br>});<br><span class="hljs-comment">// =&gt; { 'user': 'fred', 'age': 40 }</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.max(users, <span class="hljs-string">'age'</span>);<br><span class="hljs-comment">// =&gt; { 'user': 'fred', 'age': 40 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-813" class="wmd-preview-section preview-content">

<h3 id="mincollection-iteratee-thisarg"><a id="_mincollection-iteratee-thisarg" href="http://undefined" target="_blank"></a><code>_.min(collection, [iteratee], [thisArg])</code></h3>

<p><a href="#_mincollection-iteratee-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11947" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.min" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the minimum value of <code>collection</code>. If <code>collection</code> is empty or falsey <br>
<code>Infinity</code> is returned. If an iteratee function is provided it’s invoked <br>
for each value in <code>collection</code> to generate the criterion by which the value <br>
is ranked. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with three <br>
arguments: (value, index, collection). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-814" class="wmd-preview-section preview-content">

<h4 id="arguments-127">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-815" class="wmd-preview-section preview-content">

<h4 id="returns-133">Returns</h4>

<p><em>(*)</em>:  Returns the minimum value.</p>

</div><div id="wmd-preview-section-816" class="wmd-preview-section preview-content">

<h4 id="example-133">Example</h4>

</div><div id="wmd-preview-section-817" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.min([<span class="hljs-number">4</span>, <span class="hljs-number">2</span>, <span class="hljs-number">8</span>, <span class="hljs-number">6</span>]);<br><span class="hljs-comment">// =&gt; 2</span><br><br>_.min([]);<br><span class="hljs-comment">// =&gt; Infinity</span><br><br><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> }<br>];<br><br>_.min(users, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>  <span class="hljs-keyword">return</span> chr.age;<br>});<br><span class="hljs-comment">// =&gt; { 'user': 'barney', 'age': 36 }</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.min(users, <span class="hljs-string">'age'</span>);<br><span class="hljs-comment">// =&gt; { 'user': 'barney', 'age': 36 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-818" class="wmd-preview-section preview-content">

<h3 id="roundn-precision0"><a id="_roundn-precision0" href="http://undefined" target="_blank"></a><code>_.round(n, [precision=0])</code></h3>

<p><a href="#_roundn-precision0">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11969" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.round" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Calculates <code>n</code> rounded to <code>precision</code>.</p>

</div><div id="wmd-preview-section-819" class="wmd-preview-section preview-content">

<h4 id="arguments-128">Arguments</h4>

<ol><li rel="1"><code>n</code> <em>(number)</em>: The number to round.</li>
<li rel="2"><code>[precision=0]</code> <em>(number)</em>: The precision to round to.</li>
</ol>

</div><div id="wmd-preview-section-820" class="wmd-preview-section preview-content">

<h4 id="returns-134">Returns</h4>

<p><em>(number)</em>:  Returns the rounded number.</p>

</div><div id="wmd-preview-section-821" class="wmd-preview-section preview-content">

<h4 id="example-134">Example</h4>

</div><div id="wmd-preview-section-822" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.round(<span class="hljs-number">4.006</span>);<br><span class="hljs-comment">// =&gt; 4</span><br><br>_.round(<span class="hljs-number">4.006</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 4.01</span><br><br>_.round(<span class="hljs-number">4060</span>, -<span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 4100</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-823" class="wmd-preview-section preview-content">

<h3 id="sumcollection-iteratee-thisarg"><a id="_sumcollection-iteratee-thisarg" href="http://undefined" target="_blank"></a><code>_.sum(collection, [iteratee], [thisArg])</code></h3>

<p><a href="#_sumcollection-iteratee-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L12003" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.sum" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the sum of the values in <code>collection</code>.</p>

</div><div id="wmd-preview-section-824" class="wmd-preview-section preview-content">

<h4 id="arguments-129">Arguments</h4>

<ol><li rel="1"><code>collection</code> <em>(Array|Object|string)</em>: The collection to iterate over.</li>
<li rel="2"><code>[iteratee]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-825" class="wmd-preview-section preview-content">

<h4 id="returns-135">Returns</h4>

<p><em>(number)</em>:  Returns the sum.</p>

</div><div id="wmd-preview-section-826" class="wmd-preview-section preview-content">

<h4 id="example-135">Example</h4>

</div><div id="wmd-preview-section-827" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.sum([<span class="hljs-number">4</span>, <span class="hljs-number">6</span>]);<br><span class="hljs-comment">// =&gt; 10</span><br><br>_.sum({ <span class="hljs-string">'a'</span>: <span class="hljs-number">4</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">6</span> });<br><span class="hljs-comment">// =&gt; 10</span><br><br><span class="hljs-keyword">var</span> objects = [<br>  { <span class="hljs-string">'n'</span>: <span class="hljs-number">4</span> },<br>  { <span class="hljs-string">'n'</span>: <span class="hljs-number">6</span> }<br>];<br><br>_.sum(objects, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(object)</span> </span>{<br>  <span class="hljs-keyword">return</span> object.n;<br>});<br><span class="hljs-comment">// =&gt; 10</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.sum(objects, <span class="hljs-string">'n'</span>);<br><span class="hljs-comment">// =&gt; 10</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-828" class="wmd-preview-section preview-content">

<h2 id="number-methods"><code>“Number” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-829" class="wmd-preview-section preview-content">

<h3 id="inrangen-start0-end"><a id="_inrangen-start0-end" href="http://undefined" target="_blank"></a><code>_.inRange(n, [start=0], end)</code></h3>

<p><a href="#_inrangen-start0-end">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10321" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.inrange" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>n</code> is between <code>start</code> and up to but not including, <code>end</code>. If <br>
<code>end</code> is not specified it’s set to <code>start</code> with <code>start</code> then set to <code>0</code>.</p>

</div><div id="wmd-preview-section-830" class="wmd-preview-section preview-content">

<h4 id="arguments-130">Arguments</h4>

<ol><li rel="1"><code>n</code> <em>(number)</em>: The number to check.</li>
<li rel="2"><code>[start=0]</code> <em>(number)</em>: The start of the range.</li>
<li rel="3"><code>end</code> <em>(number)</em>: The end of the range.</li>
</ol>

</div><div id="wmd-preview-section-831" class="wmd-preview-section preview-content">

<h4 id="returns-136">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>n</code> is in the range, else <code>false</code>.</p>

</div><div id="wmd-preview-section-832" class="wmd-preview-section preview-content">

<h4 id="example-136">Example</h4>

</div><div id="wmd-preview-section-833" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.inRange(<span class="hljs-number">3</span>, <span class="hljs-number">2</span>, <span class="hljs-number">4</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.inRange(<span class="hljs-number">4</span>, <span class="hljs-number">8</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.inRange(<span class="hljs-number">4</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.inRange(<span class="hljs-number">2</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.inRange(<span class="hljs-number">1.2</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.inRange(<span class="hljs-number">5.2</span>, <span class="hljs-number">4</span>);<br><span class="hljs-comment">// =&gt; false</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-834" class="wmd-preview-section preview-content">

<h3 id="randommin0-max1-floating"><a id="_randommin0-max1-floating" href="http://undefined" target="_blank"></a><code>_.random([min=0], [max=1], [floating])</code></h3>

<p><a href="#_randommin0-max1-floating">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10359" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.random" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Produces a random number between <code>min</code> and <code>max</code> (inclusive). If only one <br>
argument is provided a number between <code>0</code> and the given number is returned. <br>
If <code>floating</code> is <code>true</code>, or either <code>min</code> or <code>max</code> are floats, a floating-point <br>
number is returned instead of an integer.</p>

</div><div id="wmd-preview-section-835" class="wmd-preview-section preview-content">

<h4 id="arguments-131">Arguments</h4>

<ol><li rel="1"><code>[min=0]</code> <em>(number)</em>: The minimum possible value.</li>
<li rel="2"><code>[max=1]</code> <em>(number)</em>: The maximum possible value.</li>
<li rel="3"><code>[floating]</code> <em>(boolean)</em>: Specify returning a floating-point number.</li>
</ol>

</div><div id="wmd-preview-section-836" class="wmd-preview-section preview-content">

<h4 id="returns-137">Returns</h4>

<p><em>(number)</em>:  Returns the random number.</p>

</div><div id="wmd-preview-section-837" class="wmd-preview-section preview-content">

<h4 id="example-137">Example</h4>

</div><div id="wmd-preview-section-838" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.random(<span class="hljs-number">0</span>, <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; an integer between 0 and 5</span><br><br>_.random(<span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; also an integer between 0 and 5</span><br><br>_.random(<span class="hljs-number">5</span>, <span class="hljs-literal">true</span>);<br><span class="hljs-comment">// =&gt; a floating-point number between 0 and 5</span><br><br>_.random(<span class="hljs-number">1.2</span>, <span class="hljs-number">5.2</span>);<br><span class="hljs-comment">// =&gt; a floating-point number between 1.2 and 5.2</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-839" class="wmd-preview-section preview-content">

<h2 id="object-methods"><code>“Object” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-840" class="wmd-preview-section preview-content">

<h3 id="assignobject-sources-customizer-thisarg"><a id="_assignobject-sources-customizer-thisarg" href="http://undefined" target="_blank"></a><code>_.assign(object, [sources], [customizer], [thisArg])</code></h3>

<p><a href="#_assignobject-sources-customizer-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9372" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.assign" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Assigns own enumerable properties of source object(s) to the destination <br>
object. Subsequent sources overwrite property assignments of previous sources. <br>
If <code>customizer</code> is provided it’s invoked to produce the assigned values. <br>
The <code>customizer</code> is bound to <code>thisArg</code> and invoked with five arguments:<br>
(objectValue, sourceValue, key, object, source). <br>
<br>
<br>
<strong>Note:</strong> This method mutates <code>object</code> and is based on <br>
<a href="http://ecma-international.org/ecma-262/6.0/#sec-object.assign" target="_blank"><code>Object.assign</code></a>.</p>

</div><div id="wmd-preview-section-841" class="wmd-preview-section preview-content">

<h4 id="aliases-17">Aliases</h4>

<p><em>_.extend</em></p>

</div><div id="wmd-preview-section-842" class="wmd-preview-section preview-content">

<h4 id="arguments-132">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The destination object.</li>
<li rel="2"><code>[sources]</code> <em>(…Object)</em>: The source objects.</li>
<li rel="3"><code>[customizer]</code> <em>(Function)</em>: The function to customize assigned values.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>customizer</code>.</li>
</ol>

</div><div id="wmd-preview-section-843" class="wmd-preview-section preview-content">

<h4 id="returns-138">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-844" class="wmd-preview-section preview-content">

<h4 id="example-138">Example</h4>

</div><div id="wmd-preview-section-845" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.assign({ <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> }, { <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> }, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> });<br><span class="hljs-comment">// =&gt; { 'user': 'fred', 'age': 40 }</span><br><br><span class="hljs-comment">// using a customizer callback</span><br><span class="hljs-keyword">var</span> defaults = _.partialRight(_.assign, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value, other)</span> </span>{<br>  <span class="hljs-keyword">return</span> _.isUndefined(value) ? other : value;<br>});<br><br>defaults({ <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> }, { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> }, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> });<br><span class="hljs-comment">// =&gt; { 'user': 'barney', 'age': 36 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-846" class="wmd-preview-section preview-content">

<h3 id="createprototype-properties"><a id="_createprototype-properties" href="http://undefined" target="_blank"></a><code>_.create(prototype, [properties])</code></h3>

<p><a href="#_createprototype-properties">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9412" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.create" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an object that inherits from the given <code>prototype</code> object. If a <br>
<code>properties</code> object is provided its own enumerable properties are assigned <br>
to the created object.</p>

</div><div id="wmd-preview-section-847" class="wmd-preview-section preview-content">

<h4 id="arguments-133">Arguments</h4>

<ol><li rel="1"><code>prototype</code> <em>(Object)</em>: The object to inherit from.</li>
<li rel="2"><code>[properties]</code> <em>(Object)</em>: The properties to assign to the object.</li>
</ol>

</div><div id="wmd-preview-section-848" class="wmd-preview-section preview-content">

<h4 id="returns-139">Returns</h4>

<p><em>(Object)</em>:  Returns the new object.</p>

</div><div id="wmd-preview-section-849" class="wmd-preview-section preview-content">

<h4 id="example-139">Example</h4>

</div><div id="wmd-preview-section-850" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Shape</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.x = <span class="hljs-number">0</span>;<br>  <span class="hljs-keyword">this</span>.y = <span class="hljs-number">0</span>;<br>}<br><br><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Circle</span><span class="hljs-params">()</span> </span>{<br>  Shape.call(<span class="hljs-keyword">this</span>);<br>}<br><br>Circle.prototype = _.create(Shape.prototype, {<br>  <span class="hljs-string">'constructor'</span>: Circle<br>});<br><br><span class="hljs-keyword">var</span> circle = <span class="hljs-keyword">new</span> Circle;<br>circle <span class="hljs-keyword">instanceof</span> Circle;<br><span class="hljs-comment">// =&gt; true</span><br><br>circle <span class="hljs-keyword">instanceof</span> Shape;<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-851" class="wmd-preview-section preview-content">

<h3 id="defaultsobject-sources"><a id="_defaultsobject-sources" href="http://undefined" target="_blank"></a><code>_.defaults(object, [sources])</code></h3>

<p><a href="#_defaultsobject-sources">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9438" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.defaults" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Assigns own enumerable properties of source object(s) to the destination <br>
object for all destination properties that resolve to <code>undefined</code>. Once a <br>
property is set, additional values of the same property are ignored. <br>
<br>
<br>
<strong>Note:</strong> This method mutates <code>object</code>.</p>

</div><div id="wmd-preview-section-852" class="wmd-preview-section preview-content">

<h4 id="arguments-134">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The destination object.</li>
<li rel="2"><code>[sources]</code> <em>(…Object)</em>: The source objects.</li>
</ol>

</div><div id="wmd-preview-section-853" class="wmd-preview-section preview-content">

<h4 id="returns-140">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-854" class="wmd-preview-section preview-content">

<h4 id="example-140">Example</h4>

</div><div id="wmd-preview-section-855" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.defaults({ <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> }, { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> }, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> });<br><span class="hljs-comment">// =&gt; { 'user': 'barney', 'age': 36 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-856" class="wmd-preview-section preview-content">

<h3 id="defaultsdeepobject-sources"><a id="_defaultsdeepobject-sources" href="http://undefined" target="_blank"></a><code>_.defaultsDeep(object, [sources])</code></h3>

<p><a href="#_defaultsdeepobject-sources">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9458" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.defaultsdeep" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.defaults</code> except that it recursively assigns <br>
default properties. <br>
<br>
<br>
<strong>Note:</strong> This method mutates <code>object</code>.</p>

</div><div id="wmd-preview-section-857" class="wmd-preview-section preview-content">

<h4 id="arguments-135">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The destination object.</li>
<li rel="2"><code>[sources]</code> <em>(…Object)</em>: The source objects.</li>
</ol>

</div><div id="wmd-preview-section-858" class="wmd-preview-section preview-content">

<h4 id="returns-141">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-859" class="wmd-preview-section preview-content">

<h4 id="example-141">Example</h4>

</div><div id="wmd-preview-section-860" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.defaultsDeep({ <span class="hljs-string">'user'</span>: { <span class="hljs-string">'name'</span>: <span class="hljs-string">'barney'</span> } }, { <span class="hljs-string">'user'</span>: { <span class="hljs-string">'name'</span>: <span class="hljs-string">'fred'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> } });<br><span class="hljs-comment">// =&gt; { 'user': { 'name': 'barney', 'age': 36 } }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-861" class="wmd-preview-section preview-content">

<h3 id="findkeyobject-predicateidentity-thisarg"><a id="_findkeyobject-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.findKey(object, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_findkeyobject-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9508" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.findkey" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.find</code> except that it returns the key of the first <br>
element <code>predicate</code> returns truthy for instead of the element itself. <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-862" class="wmd-preview-section preview-content">

<h4 id="arguments-136">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to search.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-863" class="wmd-preview-section preview-content">

<h4 id="returns-142">Returns</h4>

<p><em>(string|undefined)</em>:  Returns the key of the matched element, else <code>undefined</code>.</p>

</div><div id="wmd-preview-section-864" class="wmd-preview-section preview-content">

<h4 id="example-142">Example</h4>

</div><div id="wmd-preview-section-865" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = {<br>  <span class="hljs-string">'barney'</span>:  { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  <span class="hljs-string">'fred'</span>:    { <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  <span class="hljs-string">'pebbles'</span>: { <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }<br>};<br><br>_.findKey(users, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>  <span class="hljs-keyword">return</span> chr.age &lt; <span class="hljs-number">40</span>;<br>});<br><span class="hljs-comment">// =&gt; 'barney' (iteration order is not guaranteed)</span><br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.findKey(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> });<br><span class="hljs-comment">// =&gt; 'pebbles'</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.findKey(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>);<br><span class="hljs-comment">// =&gt; 'fred'</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.findKey(users, <span class="hljs-string">'active'</span>);<br><span class="hljs-comment">// =&gt; 'barney'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-866" class="wmd-preview-section preview-content">

<h3 id="findlastkeyobject-predicateidentity-thisarg"><a id="_findlastkeyobject-predicate_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.findLastKey(object, [predicate=_.identity], [thisArg])</code></h3>

<p><a href="#_findlastkeyobject-predicate_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9558" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.findlastkey" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.findKey</code> except that it iterates over elements of <br>
a collection in the opposite order. <br>
<br>
<br>
If a property name is provided for <code>predicate</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>predicate</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-867" class="wmd-preview-section preview-content">

<h4 id="arguments-137">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to search.</li>
<li rel="2"><code>[predicate=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-868" class="wmd-preview-section preview-content">

<h4 id="returns-143">Returns</h4>

<p><em>(string|undefined)</em>:  Returns the key of the matched element, else <code>undefined</code>.</p>

</div><div id="wmd-preview-section-869" class="wmd-preview-section preview-content">

<h4 id="example-143">Example</h4>

</div><div id="wmd-preview-section-870" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = {<br>  <span class="hljs-string">'barney'</span>:  { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  <span class="hljs-string">'fred'</span>:    { <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> },<br>  <span class="hljs-string">'pebbles'</span>: { <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span>,  <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> }<br>};<br><br>_.findLastKey(users, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(chr)</span> </span>{<br>  <span class="hljs-keyword">return</span> chr.age &lt; <span class="hljs-number">40</span>;<br>});<br><span class="hljs-comment">// =&gt; returns `pebbles` assuming `_.findKey` returns `barney`</span><br><br><span class="hljs-comment">// using the `_.matches` callback shorthand</span><br>_.findLastKey(users, { <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> });<br><span class="hljs-comment">// =&gt; 'barney'</span><br><br><span class="hljs-comment">// using the `_.matchesProperty` callback shorthand</span><br>_.findLastKey(users, <span class="hljs-string">'active'</span>, <span class="hljs-literal">false</span>);<br><span class="hljs-comment">// =&gt; 'fred'</span><br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.findLastKey(users, <span class="hljs-string">'active'</span>);<br><span class="hljs-comment">// =&gt; 'pebbles'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-871" class="wmd-preview-section preview-content">

<h3 id="forinobject-iterateeidentity-thisarg"><a id="_forinobject-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.forIn(object, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_forinobject-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9587" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.forin" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Iterates over own and inherited enumerable properties of an object invoking <br>
<code>iteratee</code> for each property. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked <br>
with three arguments: (value, key, object). Iteratee functions may exit <br>
iteration early by explicitly returning <code>false</code>.</p>

</div><div id="wmd-preview-section-872" class="wmd-preview-section preview-content">

<h4 id="arguments-138">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-873" class="wmd-preview-section preview-content">

<h4 id="returns-144">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-874" class="wmd-preview-section preview-content">

<h4 id="example-144">Example</h4>

</div><div id="wmd-preview-section-875" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.forIn(<span class="hljs-keyword">new</span> Foo, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value, key)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(key);<br>});<br><span class="hljs-comment">// =&gt; logs 'a', 'b', and 'c' (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-876" class="wmd-preview-section preview-content">

<h3 id="forinrightobject-iterateeidentity-thisarg"><a id="_forinrightobject-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.forInRight(object, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_forinrightobject-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9614" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.forinright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.forIn</code> except that it iterates over properties of <br>
<code>object</code> in the opposite order.</p>

</div><div id="wmd-preview-section-877" class="wmd-preview-section preview-content">

<h4 id="arguments-139">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-878" class="wmd-preview-section preview-content">

<h4 id="returns-145">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-879" class="wmd-preview-section preview-content">

<h4 id="example-145">Example</h4>

</div><div id="wmd-preview-section-880" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.forInRight(<span class="hljs-keyword">new</span> Foo, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value, key)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(key);<br>});<br><span class="hljs-comment">// =&gt; logs 'c', 'b', and 'a' assuming `_.forIn ` logs 'a', 'b', and 'c'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-881" class="wmd-preview-section preview-content">

<h3 id="forownobject-iterateeidentity-thisarg"><a id="_forownobject-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.forOwn(object, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_forownobject-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9643" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.forown" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Iterates over own enumerable properties of an object invoking <code>iteratee</code> <br>
for each property. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with <br>
three arguments: (value, key, object). Iteratee functions may exit iteration <br>
early by explicitly returning <code>false</code>.</p>

</div><div id="wmd-preview-section-882" class="wmd-preview-section preview-content">

<h4 id="arguments-140">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-883" class="wmd-preview-section preview-content">

<h4 id="returns-146">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-884" class="wmd-preview-section preview-content">

<h4 id="example-146">Example</h4>

</div><div id="wmd-preview-section-885" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.forOwn(<span class="hljs-keyword">new</span> Foo, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value, key)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(key);<br>});<br><span class="hljs-comment">// =&gt; logs 'a' and 'b' (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-886" class="wmd-preview-section preview-content">

<h3 id="forownrightobject-iterateeidentity-thisarg"><a id="_forownrightobject-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.forOwnRight(object, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_forownrightobject-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9670" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.forownright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.forOwn</code> except that it iterates over properties of <br>
<code>object</code> in the opposite order.</p>

</div><div id="wmd-preview-section-887" class="wmd-preview-section preview-content">

<h4 id="arguments-141">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-888" class="wmd-preview-section preview-content">

<h4 id="returns-147">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-889" class="wmd-preview-section preview-content">

<h4 id="example-147">Example</h4>

</div><div id="wmd-preview-section-890" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.forOwnRight(<span class="hljs-keyword">new</span> Foo, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value, key)</span> </span>{<br>  <span class="hljs-built_in">console</span>.log(key);<br>});<br><span class="hljs-comment">// =&gt; logs 'b' and 'a' assuming `_.forOwn` logs 'a' and 'b'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-891" class="wmd-preview-section preview-content">

<h3 id="functionsobject"><a id="_functionsobject" href="http://undefined" target="_blank"></a><code>_.functions(object)</code></h3>

<p><a href="#_functionsobject">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9687" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.functions" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of function property names from all enumerable properties, <br>
own and inherited, of <code>object</code>.</p>

</div><div id="wmd-preview-section-892" class="wmd-preview-section preview-content">

<h4 id="aliases-18">Aliases</h4>

<p><em>_.methods</em></p>

</div><div id="wmd-preview-section-893" class="wmd-preview-section preview-content">

<h4 id="arguments-142">Arguments</h4>

<ol start="1"><li rel="1"><code>object</code> <em>(Object)</em>: The object to inspect.</li>
</ol>

</div><div id="wmd-preview-section-894" class="wmd-preview-section preview-content">

<h4 id="returns-148">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of property names.</p>

</div><div id="wmd-preview-section-895" class="wmd-preview-section preview-content">

<h4 id="example-148">Example</h4>

</div><div id="wmd-preview-section-896" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.functions(_);<br><span class="hljs-comment">// =&gt; ['after', 'ary', 'assign', ...]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-897" class="wmd-preview-section preview-content">

<h3 id="getobject-path-defaultvalue"><a id="_getobject-path-defaultvalue" href="http://undefined" target="_blank"></a><code>_.get(object, path, [defaultValue])</code></h3>

<p><a href="#_getobject-path-defaultvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9715" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.get" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Gets the property value at <code>path</code> of <code>object</code>. If the resolved value is <br>
<code>undefined</code> the <code>defaultValue</code> is used in its place.</p>

</div><div id="wmd-preview-section-898" class="wmd-preview-section preview-content">

<h4 id="arguments-143">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
<li rel="2"><code>path</code> <em>(Array|string)</em>: The path of the property to get.</li>
<li rel="3"><code>[defaultValue]</code> <em>(*)</em>: The value returned if the resolved value is <code>undefined</code>.</li>
</ol>

</div><div id="wmd-preview-section-899" class="wmd-preview-section preview-content">

<h4 id="returns-149">Returns</h4>

<p><em>(*)</em>:  Returns the resolved value.</p>

</div><div id="wmd-preview-section-900" class="wmd-preview-section preview-content">

<h4 id="example-149">Example</h4>

</div><div id="wmd-preview-section-901" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'a'</span>: [{ <span class="hljs-string">'b'</span>: { <span class="hljs-string">'c'</span>: <span class="hljs-number">3</span> } }] };<br><br>_.get(object, <span class="hljs-string">'a[0].b.c'</span>);<br><span class="hljs-comment">// =&gt; 3</span><br><br>_.get(object, [<span class="hljs-string">'a'</span>, <span class="hljs-string">'0'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-string">'c'</span>]);<br><span class="hljs-comment">// =&gt; 3</span><br><br>_.get(object, <span class="hljs-string">'a.b.c'</span>, <span class="hljs-string">'default'</span>);<br><span class="hljs-comment">// =&gt; 'default'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-902" class="wmd-preview-section preview-content">

<h3 id="hasobject-path"><a id="_hasobject-path" href="http://undefined" target="_blank"></a><code>_.has(object, path)</code></h3>

<p><a href="#_hasobject-path">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9742" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.has" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>path</code> is a direct property.</p>

</div><div id="wmd-preview-section-903" class="wmd-preview-section preview-content">

<h4 id="arguments-144">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
<li rel="2"><code>path</code> <em>(Array|string)</em>: The path to check.</li>
</ol>

</div><div id="wmd-preview-section-904" class="wmd-preview-section preview-content">

<h4 id="returns-150">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>path</code> is a direct property, else <code>false</code>.</p>

</div><div id="wmd-preview-section-905" class="wmd-preview-section preview-content">

<h4 id="example-150">Example</h4>

</div><div id="wmd-preview-section-906" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'a'</span>: { <span class="hljs-string">'b'</span>: { <span class="hljs-string">'c'</span>: <span class="hljs-number">3</span> } } };<br><br>_.has(object, <span class="hljs-string">'a'</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.has(object, <span class="hljs-string">'a.b.c'</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.has(object, [<span class="hljs-string">'a'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-string">'c'</span>]);<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-907" class="wmd-preview-section preview-content">

<h3 id="invertobject-multivalue"><a id="_invertobject-multivalue" href="http://undefined" target="_blank"></a><code>_.invert(object, [multiValue])</code></h3>

<p><a href="#_invertobject-multivalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9783" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.invert" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an object composed of the inverted keys and values of <code>object</code>. <br>
If <code>object</code> contains duplicate values, subsequent values overwrite property <br>
assignments of previous values unless <code>multiValue</code> is <code>true</code>.</p>

</div><div id="wmd-preview-section-908" class="wmd-preview-section preview-content">

<h4 id="arguments-145">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to invert.</li>
<li rel="2"><code>[multiValue]</code> <em>(boolean)</em>: Allow multiple values per key.</li>
</ol>

</div><div id="wmd-preview-section-909" class="wmd-preview-section preview-content">

<h4 id="returns-151">Returns</h4>

<p><em>(Object)</em>:  Returns the new inverted object.</p>

</div><div id="wmd-preview-section-910" class="wmd-preview-section preview-content">

<h4 id="example-151">Example</h4>

</div><div id="wmd-preview-section-911" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">2</span>, <span class="hljs-string">'c'</span>: <span class="hljs-number">1</span> };<br><br>_.invert(object);<br><span class="hljs-comment">// =&gt; { '1': 'c', '2': 'b' }</span><br><br><span class="hljs-comment">// with `multiValue`</span><br>_.invert(object, <span class="hljs-literal">true</span>);<br><span class="hljs-comment">// =&gt; { '1': ['a', 'c'], '2': ['b'] }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-912" class="wmd-preview-section preview-content">

<h3 id="keysobject"><a id="_keysobject" href="http://undefined" target="_blank"></a><code>_.keys(object)</code></h3>

<p><a href="#_keysobject">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9837" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.keys" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of the own enumerable property names of <code>object</code>. <br>
<br>
<br>
<strong>Note:</strong> Non-object values are coerced to objects. See the <br>
<a href="http://ecma-international.org/ecma-262/6.0/#sec-object.keys" target="_blank">ES spec</a> <br>
for more details.</p>

</div><div id="wmd-preview-section-913" class="wmd-preview-section preview-content">

<h4 id="arguments-146">Arguments</h4>

<ol start="1"><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
</ol>

</div><div id="wmd-preview-section-914" class="wmd-preview-section preview-content">

<h4 id="returns-152">Returns</h4>

<p><em>(Array)</em>:  Returns the array of property names.</p>

</div><div id="wmd-preview-section-915" class="wmd-preview-section preview-content">

<h4 id="example-152">Example</h4>

</div><div id="wmd-preview-section-916" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.keys(<span class="hljs-keyword">new</span> Foo);<br><span class="hljs-comment">// =&gt; ['a', 'b'] (iteration order is not guaranteed)</span><br><br>_.keys(<span class="hljs-string">'hi'</span>);<br><span class="hljs-comment">// =&gt; ['0', '1']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-917" class="wmd-preview-section preview-content">

<h3 id="keysinobject"><a id="_keysinobject" href="http://undefined" target="_blank"></a><code>_.keysIn(object)</code></h3>

<p><a href="#_keysinobject">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9868" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.keysin" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of the own and inherited enumerable property names of <code>object</code>. <br>
<br>
<br>
<strong>Note:</strong> Non-object values are coerced to objects.</p>

</div><div id="wmd-preview-section-918" class="wmd-preview-section preview-content">

<h4 id="arguments-147">Arguments</h4>

<ol start="1"><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
</ol>

</div><div id="wmd-preview-section-919" class="wmd-preview-section preview-content">

<h4 id="returns-153">Returns</h4>

<p><em>(Array)</em>:  Returns the array of property names.</p>

</div><div id="wmd-preview-section-920" class="wmd-preview-section preview-content">

<h4 id="example-153">Example</h4>

</div><div id="wmd-preview-section-921" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.keysIn(<span class="hljs-keyword">new</span> Foo);<br><span class="hljs-comment">// =&gt; ['a', 'b', 'c'] (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-922" class="wmd-preview-section preview-content">

<h3 id="mapkeysobject-iterateeidentity-thisarg"><a id="_mapkeysobject-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.mapKeys(object, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_mapkeysobject-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9945" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.mapkeys" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>The opposite of <code>_.mapValues</code>; this method creates an object with the <br>
same values as <code>object</code> and keys generated by running each own enumerable <br>
property of <code>object</code> through <code>iteratee</code>.</p>

</div><div id="wmd-preview-section-923" class="wmd-preview-section preview-content">

<h4 id="arguments-148">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-924" class="wmd-preview-section preview-content">

<h4 id="returns-154">Returns</h4>

<p><em>(Object)</em>:  Returns the new mapped object.</p>

</div><div id="wmd-preview-section-925" class="wmd-preview-section preview-content">

<h4 id="example-154">Example</h4>

</div><div id="wmd-preview-section-926" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.mapKeys({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">2</span> }, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(value, key)</span> </span>{<br>  <span class="hljs-keyword">return</span> key + value;<br>});<br><span class="hljs-comment">// =&gt; { 'a1': 1, 'b2': 2 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-927" class="wmd-preview-section preview-content">

<h3 id="mapvaluesobject-iterateeidentity-thisarg"><a id="_mapvaluesobject-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.mapValues(object, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_mapvaluesobject-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9988" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.mapvalues" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an object with the same keys as <code>object</code> and values generated by <br>
running each own enumerable property of <code>object</code> through <code>iteratee</code>. The <br>
iteratee function is bound to <code>thisArg</code> and invoked with three arguments:<br>
(value, key, object). <br>
<br>
<br>
If a property name is provided for <code>iteratee</code> the created <code>_.property</code> <br>
style callback returns the property value of the given element. <br>
<br>
<br>
If a value is also provided for <code>thisArg</code> the created <code>_.matchesProperty</code> <br>
style callback returns <code>true</code> for elements that have a matching property <br>
value, else <code>false</code>. <br>
<br>
<br>
If an object is provided for <code>iteratee</code> the created <code>_.matches</code> style <br>
callback returns <code>true</code> for elements that have the properties of the given <br>
object, else <code>false</code>.</p>

</div><div id="wmd-preview-section-928" class="wmd-preview-section preview-content">

<h4 id="arguments-149">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function|Object|string)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-929" class="wmd-preview-section preview-content">

<h4 id="returns-155">Returns</h4>

<p><em>(Object)</em>:  Returns the new mapped object.</p>

</div><div id="wmd-preview-section-930" class="wmd-preview-section preview-content">

<h4 id="example-155">Example</h4>

</div><div id="wmd-preview-section-931" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.mapValues({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">2</span> }, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">return</span> n * <span class="hljs-number">3</span>;<br>});<br><span class="hljs-comment">// =&gt; { 'a': 3, 'b': 6 }</span><br><br><span class="hljs-keyword">var</span> users = {<br>  <span class="hljs-string">'fred'</span>:    { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,    <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> },<br>  <span class="hljs-string">'pebbles'</span>: { <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">1</span> }<br>};<br><br><span class="hljs-comment">// using the `_.property` callback shorthand</span><br>_.mapValues(users, <span class="hljs-string">'age'</span>);<br><span class="hljs-comment">// =&gt; { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-932" class="wmd-preview-section preview-content">

<h3 id="mergeobject-sources-customizer-thisarg"><a id="_mergeobject-sources-customizer-thisarg" href="http://undefined" target="_blank"></a><code>_.merge(object, [sources], [customizer], [thisArg])</code></h3>

<p><a href="#_mergeobject-sources-customizer-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L9338" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.merge" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Recursively merges own enumerable properties of the source object(s), that <br>
don’t resolve to <code>undefined</code> into the destination object. Subsequent sources <br>
overwrite property assignments of previous sources. If <code>customizer</code> is <br>
provided it’s invoked to produce the merged values of the destination and <br>
source properties. If <code>customizer</code> returns <code>undefined</code> merging is handled <br>
by the method instead. The <code>customizer</code> is bound to <code>thisArg</code> and invoked <br>
with five arguments: (objectValue, sourceValue, key, object, source).</p>

</div><div id="wmd-preview-section-933" class="wmd-preview-section preview-content">

<h4 id="arguments-150">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The destination object.</li>
<li rel="2"><code>[sources]</code> <em>(…Object)</em>: The source objects.</li>
<li rel="3"><code>[customizer]</code> <em>(Function)</em>: The function to customize assigned values.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>customizer</code>.</li>
</ol>

</div><div id="wmd-preview-section-934" class="wmd-preview-section preview-content">

<h4 id="returns-156">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-935" class="wmd-preview-section preview-content">

<h4 id="example-156">Example</h4>

</div><div id="wmd-preview-section-936" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = {<br>  <span class="hljs-string">'data'</span>: [{ <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> }, { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> }]<br>};<br><br><span class="hljs-keyword">var</span> ages = {<br>  <span class="hljs-string">'data'</span>: [{ <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> }, { <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> }]<br>};<br><br>_.merge(users, ages);<br><span class="hljs-comment">// =&gt; { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] }</span><br><br><span class="hljs-comment">// using a customizer callback</span><br><span class="hljs-keyword">var</span> object = {<br>  <span class="hljs-string">'fruits'</span>: [<span class="hljs-string">'apple'</span>],<br>  <span class="hljs-string">'vegetables'</span>: [<span class="hljs-string">'beet'</span>]<br>};<br><br><span class="hljs-keyword">var</span> other = {<br>  <span class="hljs-string">'fruits'</span>: [<span class="hljs-string">'banana'</span>],<br>  <span class="hljs-string">'vegetables'</span>: [<span class="hljs-string">'carrot'</span>]<br>};<br><br>_.merge(object, other, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(a, b)</span> </span>{<br>  <span class="hljs-keyword">if</span> (_.isArray(a)) {<br>    <span class="hljs-keyword">return</span> a.concat(b);<br>  }<br>});<br><span class="hljs-comment">// =&gt; { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-937" class="wmd-preview-section preview-content">

<h3 id="omitobject-predicate-thisarg"><a id="_omitobject-predicate-thisarg" href="http://undefined" target="_blank"></a><code>_.omit(object, [predicate], [thisArg])</code></h3>

<p><a href="#_omitobject-predicate-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10013" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.omit" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>The opposite of <code>_.pick</code>; this method creates an object composed of the <br>
own and inherited enumerable properties of <code>object</code> that are not omitted.</p>

</div><div id="wmd-preview-section-938" class="wmd-preview-section preview-content">

<h4 id="arguments-151">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The source object.</li>
<li rel="2"><code>[predicate]</code> <em>(Function|…(string|string[])</em>: The function invoked per iteration or property names to omit, specified as individual property names or arrays of property names.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-939" class="wmd-preview-section preview-content">

<h4 id="returns-157">Returns</h4>

<p><em>(Object)</em>:  Returns the new object.</p>

</div><div id="wmd-preview-section-940" class="wmd-preview-section preview-content">

<h4 id="example-157">Example</h4>

</div><div id="wmd-preview-section-941" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> };<br><br>_.omit(object, <span class="hljs-string">'age'</span>);<br><span class="hljs-comment">// =&gt; { 'user': 'fred' }</span><br><br>_.omit(object, _.isNumber);<br><span class="hljs-comment">// =&gt; { 'user': 'fred' }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-942" class="wmd-preview-section preview-content">

<h3 id="pairsobject"><a id="_pairsobject" href="http://undefined" target="_blank"></a><code>_.pairs(object)</code></h3>

<p><a href="#_pairsobject">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10041" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.pairs" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a two dimensional array of the key-value pairs for <code>object</code>, <br>
e.g. <code>[[key1, value1], [key2, value2]]</code>.</p>

</div><div id="wmd-preview-section-943" class="wmd-preview-section preview-content">

<h4 id="arguments-152">Arguments</h4>

<ol start="1"><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
</ol>

</div><div id="wmd-preview-section-944" class="wmd-preview-section preview-content">

<h4 id="returns-158">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of key-value pairs.</p>

</div><div id="wmd-preview-section-945" class="wmd-preview-section preview-content">

<h4 id="example-158">Example</h4>

</div><div id="wmd-preview-section-946" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.pairs({ <span class="hljs-string">'barney'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'fred'</span>: <span class="hljs-number">40</span> });<br><span class="hljs-comment">// =&gt; [['barney', 36], ['fred', 40]] (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-947" class="wmd-preview-section preview-content">

<h3 id="pickobject-predicate-thisarg"><a id="_pickobject-predicate-thisarg" href="http://undefined" target="_blank"></a><code>_.pick(object, [predicate], [thisArg])</code></h3>

<p><a href="#_pickobject-predicate-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10082" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.pick" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an object composed of the picked <code>object</code> properties. Property <br>
names may be specified as individual arguments or as arrays of property <br>
names. If <code>predicate</code> is provided it’s invoked for each property of <code>object</code> <br>
picking the properties <code>predicate</code> returns truthy for. The predicate is <br>
bound to <code>thisArg</code> and invoked with three arguments: (value, key, object).</p>

</div><div id="wmd-preview-section-948" class="wmd-preview-section preview-content">

<h4 id="arguments-153">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The source object.</li>
<li rel="2"><code>[predicate]</code> <em>(Function|…(string|string[])</em>: The function invoked per iteration or property names to pick, specified as individual property names or arrays of property names.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>predicate</code>.</li>
</ol>

</div><div id="wmd-preview-section-949" class="wmd-preview-section preview-content">

<h4 id="returns-159">Returns</h4>

<p><em>(Object)</em>:  Returns the new object.</p>

</div><div id="wmd-preview-section-950" class="wmd-preview-section preview-content">

<h4 id="example-159">Example</h4>

</div><div id="wmd-preview-section-951" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> };<br><br>_.pick(object, <span class="hljs-string">'user'</span>);<br><span class="hljs-comment">// =&gt; { 'user': 'fred' }</span><br><br>_.pick(object, _.isString);<br><span class="hljs-comment">// =&gt; { 'user': 'fred' }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-952" class="wmd-preview-section preview-content">

<h3 id="resultobject-path-defaultvalue"><a id="_resultobject-path-defaultvalue" href="http://undefined" target="_blank"></a><code>_.result(object, path, [defaultValue])</code></h3>

<p><a href="#_resultobject-path-defaultvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10119" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.result" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method is like <code>_.get</code> except that if the resolved value is a function <br>
it’s invoked with the <code>this</code> binding of its parent object and its result <br>
is returned.</p>

</div><div id="wmd-preview-section-953" class="wmd-preview-section preview-content">

<h4 id="arguments-154">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
<li rel="2"><code>path</code> <em>(Array|string)</em>: The path of the property to resolve.</li>
<li rel="3"><code>[defaultValue]</code> <em>(*)</em>: The value returned if the resolved value is <code>undefined</code>.</li>
</ol>

</div><div id="wmd-preview-section-954" class="wmd-preview-section preview-content">

<h4 id="returns-160">Returns</h4>

<p><em>(*)</em>:  Returns the resolved value.</p>

</div><div id="wmd-preview-section-955" class="wmd-preview-section preview-content">

<h4 id="example-160">Example</h4>

</div><div id="wmd-preview-section-956" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'a'</span>: [{ <span class="hljs-string">'b'</span>: { <span class="hljs-string">'c1'</span>: <span class="hljs-number">3</span>, <span class="hljs-string">'c2'</span>: _.constant(<span class="hljs-number">4</span>) } }] };<br><br>_.result(object, <span class="hljs-string">'a[0].b.c1'</span>);<br><span class="hljs-comment">// =&gt; 3</span><br><br>_.result(object, <span class="hljs-string">'a[0].b.c2'</span>);<br><span class="hljs-comment">// =&gt; 4</span><br><br>_.result(object, <span class="hljs-string">'a.b.c'</span>, <span class="hljs-string">'default'</span>);<br><span class="hljs-comment">// =&gt; 'default'</span><br><br>_.result(object, <span class="hljs-string">'a.b.c'</span>, _.constant(<span class="hljs-string">'default'</span>));<br><span class="hljs-comment">// =&gt; 'default'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-957" class="wmd-preview-section preview-content">

<h3 id="setobject-path-value"><a id="_setobject-path-value" href="http://undefined" target="_blank"></a><code>_.set(object, path, value)</code></h3>

<p><a href="#_setobject-path-value">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10155" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.set" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Sets the property value of <code>path</code> on <code>object</code>. If a portion of <code>path</code> <br>
does not exist it’s created.</p>

</div><div id="wmd-preview-section-958" class="wmd-preview-section preview-content">

<h4 id="arguments-155">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to augment.</li>
<li rel="2"><code>path</code> <em>(Array|string)</em>: The path of the property to set.</li>
<li rel="3"><code>value</code> <em>(*)</em>: The value to set.</li>
</ol>

</div><div id="wmd-preview-section-959" class="wmd-preview-section preview-content">

<h4 id="returns-161">Returns</h4>

<p><em>(Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-960" class="wmd-preview-section preview-content">

<h4 id="example-161">Example</h4>

</div><div id="wmd-preview-section-961" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'a'</span>: [{ <span class="hljs-string">'b'</span>: { <span class="hljs-string">'c'</span>: <span class="hljs-number">3</span> } }] };<br><br>_.set(object, <span class="hljs-string">'a[0].b.c'</span>, <span class="hljs-number">4</span>);<br><span class="hljs-built_in">console</span>.log(object.a[<span class="hljs-number">0</span>].b.c);<br><span class="hljs-comment">// =&gt; 4</span><br><br>_.set(object, <span class="hljs-string">'x[0].y.z'</span>, <span class="hljs-number">5</span>);<br><span class="hljs-built_in">console</span>.log(object.x[<span class="hljs-number">0</span>].y.z);<br><span class="hljs-comment">// =&gt; 5</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-962" class="wmd-preview-section preview-content">

<h3 id="transformobject-iterateeidentity-accumulator-thisarg"><a id="_transformobject-iteratee_identity-accumulator-thisarg" href="http://undefined" target="_blank"></a><code>_.transform(object, [iteratee=_.identity], [accumulator], [thisArg])</code></h3>

<p><a href="#_transformobject-iteratee_identity-accumulator-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10210" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.transform" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>An alternative to <code>_.reduce</code>; this method transforms <code>object</code> to a new <br>
<code>accumulator</code> object which is the result of running each of its own enumerable <br>
properties through <code>iteratee</code>, with each invocation potentially mutating <br>
the <code>accumulator</code> object. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked <br>
with four arguments: (accumulator, value, key, object). Iteratee functions <br>
may exit iteration early by explicitly returning <code>false</code>.</p>

</div><div id="wmd-preview-section-963" class="wmd-preview-section preview-content">

<h4 id="arguments-156">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Array|Object)</em>: The object to iterate over.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[accumulator]</code> <em>(*)</em>: The custom accumulator value.</li>
<li rel="4"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-964" class="wmd-preview-section preview-content">

<h4 id="returns-162">Returns</h4>

<p><em>(*)</em>:  Returns the accumulated value.</p>

</div><div id="wmd-preview-section-965" class="wmd-preview-section preview-content">

<h4 id="example-162">Example</h4>

</div><div id="wmd-preview-section-966" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.transform([<span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(result, n)</span> </span>{<br>  result.push(n *= n);<br>  <span class="hljs-keyword">return</span> n % <span class="hljs-number">2</span> == <span class="hljs-number">0</span>;<br>});<br><span class="hljs-comment">// =&gt; [4, 9]</span><br><br>_.transform({ <span class="hljs-string">'a'</span>: <span class="hljs-number">1</span>, <span class="hljs-string">'b'</span>: <span class="hljs-number">2</span> }, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(result, n, key)</span> </span>{<br>  result[key] = n * <span class="hljs-number">3</span>;<br>});<br><span class="hljs-comment">// =&gt; { 'a': 3, 'b': 6 }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-967" class="wmd-preview-section preview-content">

<h3 id="valuesobject"><a id="_valuesobject" href="http://undefined" target="_blank"></a><code>_.values(object)</code></h3>

<p><a href="#_valuesobject">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10257" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.values" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of the own enumerable property values of <code>object</code>. <br>
<br>
<br>
<strong>Note:</strong> Non-object values are coerced to objects.</p>

</div><div id="wmd-preview-section-968" class="wmd-preview-section preview-content">

<h4 id="arguments-157">Arguments</h4>

<ol start="1"><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
</ol>

</div><div id="wmd-preview-section-969" class="wmd-preview-section preview-content">

<h4 id="returns-163">Returns</h4>

<p><em>(Array)</em>:  Returns the array of property values.</p>

</div><div id="wmd-preview-section-970" class="wmd-preview-section preview-content">

<h4 id="example-163">Example</h4>

</div><div id="wmd-preview-section-971" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.values(<span class="hljs-keyword">new</span> Foo);<br><span class="hljs-comment">// =&gt; [1, 2] (iteration order is not guaranteed)</span><br><br>_.values(<span class="hljs-string">'hi'</span>);<br><span class="hljs-comment">// =&gt; ['h', 'i']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-972" class="wmd-preview-section preview-content">

<h3 id="valuesinobject"><a id="_valuesinobject" href="http://undefined" target="_blank"></a><code>_.valuesIn(object)</code></h3>

<p><a href="#_valuesinobject">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10284" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.valuesin" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of the own and inherited enumerable property values <br>
of <code>object</code>. <br>
<br>
<br>
<strong>Note:</strong> Non-object values are coerced to objects.</p>

</div><div id="wmd-preview-section-973" class="wmd-preview-section preview-content">

<h4 id="arguments-158">Arguments</h4>

<ol start="1"><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
</ol>

</div><div id="wmd-preview-section-974" class="wmd-preview-section preview-content">

<h4 id="returns-164">Returns</h4>

<p><em>(Array)</em>:  Returns the array of property values.</p>

</div><div id="wmd-preview-section-975" class="wmd-preview-section preview-content">

<h4 id="example-164">Example</h4>

</div><div id="wmd-preview-section-976" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">Foo</span><span class="hljs-params">()</span> </span>{<br>  <span class="hljs-keyword">this</span>.a = <span class="hljs-number">1</span>;<br>  <span class="hljs-keyword">this</span>.b = <span class="hljs-number">2</span>;<br>}<br><br>Foo.prototype.c = <span class="hljs-number">3</span>;<br><br>_.valuesIn(<span class="hljs-keyword">new</span> Foo);<br><span class="hljs-comment">// =&gt; [1, 2, 3] (iteration order is not guaranteed)</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-977" class="wmd-preview-section preview-content">

<h2 id="string-methods"><code>“String” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-978" class="wmd-preview-section preview-content">

<h3 id="camelcasestring"><a id="_camelcasestring" href="http://undefined" target="_blank"></a><code>_.camelCase([string=''])</code></h3>

<p><a href="#_camelcasestring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10415" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.camelcase" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Converts <code>string</code> to <a href="https://en.wikipedia.org/wiki/CamelCase" target="_blank">camel case</a>.</p>

</div><div id="wmd-preview-section-979" class="wmd-preview-section preview-content">

<h4 id="arguments-159">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to convert.</li>
</ol>

</div><div id="wmd-preview-section-980" class="wmd-preview-section preview-content">

<h4 id="returns-165">Returns</h4>

<p><em>(string)</em>:  Returns the camel cased string.</p>

</div><div id="wmd-preview-section-981" class="wmd-preview-section preview-content">

<h4 id="example-165">Example</h4>

</div><div id="wmd-preview-section-982" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.camelCase(<span class="hljs-string">'Foo Bar'</span>);<br><span class="hljs-comment">// =&gt; 'fooBar'</span><br><br>_.camelCase(<span class="hljs-string">'--foo-bar'</span>);<br><span class="hljs-comment">// =&gt; 'fooBar'</span><br><br>_.camelCase(<span class="hljs-string">'__foo_bar__'</span>);<br><span class="hljs-comment">// =&gt; 'fooBar'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-983" class="wmd-preview-section preview-content">

<h3 id="capitalizestring"><a id="_capitalizestring" href="http://undefined" target="_blank"></a><code>_.capitalize([string=''])</code></h3>

<p><a href="#_capitalizestring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10433" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.capitalize" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Capitalizes the first character of <code>string</code>.</p>

</div><div id="wmd-preview-section-984" class="wmd-preview-section preview-content">

<h4 id="arguments-160">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to capitalize.</li>
</ol>

</div><div id="wmd-preview-section-985" class="wmd-preview-section preview-content">

<h4 id="returns-166">Returns</h4>

<p><em>(string)</em>:  Returns the capitalized string.</p>

</div><div id="wmd-preview-section-986" class="wmd-preview-section preview-content">

<h4 id="example-166">Example</h4>

</div><div id="wmd-preview-section-987" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.capitalize(<span class="hljs-string">'fred'</span>);<br><span class="hljs-comment">// =&gt; 'Fred'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-988" class="wmd-preview-section preview-content">

<h3 id="deburrstring"><a id="_deburrstring" href="http://undefined" target="_blank"></a><code>_.deburr([string=''])</code></h3>

<p><a href="#_deburrstring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10452" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.deburr" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Deburrs <code>string</code> by converting <a href="https://en.wikipedia.org/wiki/Latin-1_Supplement_%28Unicode_block%29#Character_table" target="_blank">latin-1 supplementary letters</a> <br>
to basic latin letters and removing <a href="https://en.wikipedia.org/wiki/Combining_Diacritical_Marks" target="_blank">combining diacritical marks</a>.</p>

</div><div id="wmd-preview-section-989" class="wmd-preview-section preview-content">

<h4 id="arguments-161">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to deburr.</li>
</ol>

</div><div id="wmd-preview-section-990" class="wmd-preview-section preview-content">

<h4 id="returns-167">Returns</h4>

<p><em>(string)</em>:  Returns the deburred string.</p>

</div><div id="wmd-preview-section-991" class="wmd-preview-section preview-content">

<h4 id="example-167">Example</h4>

</div><div id="wmd-preview-section-992" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.deburr(<span class="hljs-string">'déjà vu'</span>);<br><span class="hljs-comment">// =&gt; 'deja vu'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-993" class="wmd-preview-section preview-content">

<h3 id="endswithstring-target-positionstringlength"><a id="_endswithstring-target-positionstringlength" href="http://undefined" target="_blank"></a><code>_.endsWith([string=''], [target], [position=string.length])</code></h3>

<p><a href="#_endswithstring-target-positionstringlength">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10478" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.endswith" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>string</code> ends with the given target string.</p>

</div><div id="wmd-preview-section-994" class="wmd-preview-section preview-content">

<h4 id="arguments-162">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to search.</li>
<li rel="2"><code>[target]</code> <em>(string)</em>: The string to search for.</li>
<li rel="3"><code>[position=string.length]</code> <em>(number)</em>: The position to search from.</li>
</ol>

</div><div id="wmd-preview-section-995" class="wmd-preview-section preview-content">

<h4 id="returns-168">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>string</code> ends with <code>target</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-996" class="wmd-preview-section preview-content">

<h4 id="example-168">Example</h4>

</div><div id="wmd-preview-section-997" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.endsWith(<span class="hljs-string">'abc'</span>, <span class="hljs-string">'c'</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.endsWith(<span class="hljs-string">'abc'</span>, <span class="hljs-string">'b'</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.endsWith(<span class="hljs-string">'abc'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-998" class="wmd-preview-section preview-content">

<h3 id="escapestring"><a id="_escapestring" href="http://undefined" target="_blank"></a><code>_.escape([string=''])</code></h3>

<p><a href="#_escapestring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10523" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.escape" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Converts the characters “&amp;”, “&lt;”, “&gt;”, ‘”’, “’”, and “`”, in <code>string</code> to <br>
their corresponding HTML entities. <br>
<br>
<br>
<strong>Note:</strong> No other characters are escaped. To escape additional characters <br>
use a third-party library like <a href="https://mths.be/he" target="_blank"><em>he</em></a>. <br>
<br>
<br>
Though the “&gt;” character is escaped for symmetry, characters like <br>
“&gt;” and “/” don’t need escaping in HTML and have no special meaning <br>
unless they’re part of a tag or unquoted attribute value. <br>
See <a href="https://mathiasbynens.be/notes/ambiguous-ampersands" target="_blank">Mathias Bynens’s article</a> <br>
(under “semi-related fun fact”) for more details. <br>
<br>
<br>
Backticks are escaped because in Internet Explorer &lt; 9, they can break out <br>
of attribute values or HTML comments. See <a href="https://html5sec.org/#59" target="_blank">#59</a>, <br>
<a href="https://html5sec.org/#102" target="_blank">#102</a>, <a href="https://html5sec.org/#108" target="_blank">#108</a>, and <br>
<a href="https://html5sec.org/#133" target="_blank">#133</a> of the <a href="https://html5sec.org/" target="_blank">HTML5 Security Cheatsheet</a> <br>
for more details. <br>
<br>
<br>
When working with HTML you should always <a href="http://wonko.com/post/html-escaping" target="_blank">quote attribute values</a> <br>
to reduce XSS vectors.</p>

</div><div id="wmd-preview-section-999" class="wmd-preview-section preview-content">

<h4 id="arguments-163">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to escape.</li>
</ol>

</div><div id="wmd-preview-section-1000" class="wmd-preview-section preview-content">

<h4 id="returns-169">Returns</h4>

<p><em>(string)</em>:  Returns the escaped string.</p>

</div><div id="wmd-preview-section-1001" class="wmd-preview-section preview-content">

<h4 id="example-169">Example</h4>

</div><div id="wmd-preview-section-1002" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.escape(<span class="hljs-string">'fred, barney, &amp; pebbles'</span>);<br><span class="hljs-comment">// =&gt; 'fred, barney, &amp;amp; pebbles'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1003" class="wmd-preview-section preview-content">

<h3 id="escaperegexpstring"><a id="_escaperegexpstring" href="http://undefined" target="_blank"></a><code>_.escapeRegExp([string=''])</code></h3>

<p><a href="#_escaperegexpstring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10545" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.escaperegexp" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Escapes the <code>RegExp</code> special characters “\”, “/”, “^”, “$”, “.”, “|”, “?”, <br>
“*”, “+”, “(“, “)”, “[“, “]”, “{” and “}” in <code>string</code>.</p>

</div><div id="wmd-preview-section-1004" class="wmd-preview-section preview-content">

<h4 id="arguments-164">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to escape.</li>
</ol>

</div><div id="wmd-preview-section-1005" class="wmd-preview-section preview-content">

<h4 id="returns-170">Returns</h4>

<p><em>(string)</em>:  Returns the escaped string.</p>

</div><div id="wmd-preview-section-1006" class="wmd-preview-section preview-content">

<h4 id="example-170">Example</h4>

</div><div id="wmd-preview-section-1007" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.escapeRegExp(<span class="hljs-string">'[lodash](https://lodash.com/)'</span>);<br><span class="hljs-comment">// =&gt; '\[lodash\]\(https:\/\/lodash\.com\/\)'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1008" class="wmd-preview-section preview-content">

<h3 id="kebabcasestring"><a id="_kebabcasestring" href="http://undefined" target="_blank"></a><code>_.kebabCase([string=''])</code></h3>

<p><a href="#_kebabcasestring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10571" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.kebabcase" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Converts <code>string</code> to <a href="https://en.wikipedia.org/wiki/Letter_case#Special_case_styles" target="_blank">kebab case</a>.</p>

</div><div id="wmd-preview-section-1009" class="wmd-preview-section preview-content">

<h4 id="arguments-165">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to convert.</li>
</ol>

</div><div id="wmd-preview-section-1010" class="wmd-preview-section preview-content">

<h4 id="returns-171">Returns</h4>

<p><em>(string)</em>:  Returns the kebab cased string.</p>

</div><div id="wmd-preview-section-1011" class="wmd-preview-section preview-content">

<h4 id="example-171">Example</h4>

</div><div id="wmd-preview-section-1012" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.kebabCase(<span class="hljs-string">'Foo Bar'</span>);<br><span class="hljs-comment">// =&gt; 'foo-bar'</span><br><br>_.kebabCase(<span class="hljs-string">'fooBar'</span>);<br><span class="hljs-comment">// =&gt; 'foo-bar'</span><br><br>_.kebabCase(<span class="hljs-string">'__foo_bar__'</span>);<br><span class="hljs-comment">// =&gt; 'foo-bar'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1013" class="wmd-preview-section preview-content">

<h3 id="padstring-length0-chars"><a id="_padstring-length0-chars" href="http://undefined" target="_blank"></a><code>_.pad([string=''], [length=0], [chars=' '])</code></h3>

<p><a href="#_padstring-length0-chars">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10597" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.pad" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Pads <code>string</code> on the left and right sides if it’s shorter than <code>length</code>. <br>
Padding characters are truncated if they can’t be evenly divided by <code>length</code>.</p>

</div><div id="wmd-preview-section-1014" class="wmd-preview-section preview-content">

<h4 id="arguments-166">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to pad.</li>
<li rel="2"><code>[length=0]</code> <em>(number)</em>: The padding length.</li>
<li rel="3"><code>[chars=' ']</code> <em>(string)</em>: The string used as padding.</li>
</ol>

</div><div id="wmd-preview-section-1015" class="wmd-preview-section preview-content">

<h4 id="returns-172">Returns</h4>

<p><em>(string)</em>:  Returns the padded string.</p>

</div><div id="wmd-preview-section-1016" class="wmd-preview-section preview-content">

<h4 id="example-172">Example</h4>

</div><div id="wmd-preview-section-1017" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.pad(<span class="hljs-string">'abc'</span>, <span class="hljs-number">8</span>);<br><span class="hljs-comment">// =&gt; '  abc   '</span><br><br>_.pad(<span class="hljs-string">'abc'</span>, <span class="hljs-number">8</span>, <span class="hljs-string">'_-'</span>);<br><span class="hljs-comment">// =&gt; '_-abc_-_'</span><br><br>_.pad(<span class="hljs-string">'abc'</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; 'abc'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1018" class="wmd-preview-section preview-content">

<h3 id="padleftstring-length0-chars"><a id="_padleftstring-length0-chars" href="http://undefined" target="_blank"></a><code>_.padLeft([string=''], [length=0], [chars=' '])</code></h3>

<p><a href="#_padleftstring-length0-chars">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10635" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.padleft" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Pads <code>string</code> on the left side if it’s shorter than <code>length</code>. Padding <br>
characters are truncated if they exceed <code>length</code>.</p>

</div><div id="wmd-preview-section-1019" class="wmd-preview-section preview-content">

<h4 id="arguments-167">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to pad.</li>
<li rel="2"><code>[length=0]</code> <em>(number)</em>: The padding length.</li>
<li rel="3"><code>[chars=' ']</code> <em>(string)</em>: The string used as padding.</li>
</ol>

</div><div id="wmd-preview-section-1020" class="wmd-preview-section preview-content">

<h4 id="returns-173">Returns</h4>

<p><em>(string)</em>:  Returns the padded string.</p>

</div><div id="wmd-preview-section-1021" class="wmd-preview-section preview-content">

<h4 id="example-173">Example</h4>

</div><div id="wmd-preview-section-1022" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.padLeft(<span class="hljs-string">'abc'</span>, <span class="hljs-number">6</span>);<br><span class="hljs-comment">// =&gt; '   abc'</span><br><br>_.padLeft(<span class="hljs-string">'abc'</span>, <span class="hljs-number">6</span>, <span class="hljs-string">'_-'</span>);<br><span class="hljs-comment">// =&gt; '_-_abc'</span><br><br>_.padLeft(<span class="hljs-string">'abc'</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; 'abc'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1023" class="wmd-preview-section preview-content">

<h3 id="padrightstring-length0-chars"><a id="_padrightstring-length0-chars" href="http://undefined" target="_blank"></a><code>_.padRight([string=''], [length=0], [chars=' '])</code></h3>

<p><a href="#_padrightstring-length0-chars">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10659" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.padright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Pads <code>string</code> on the right side if it’s shorter than <code>length</code>. Padding <br>
characters are truncated if they exceed <code>length</code>.</p>

</div><div id="wmd-preview-section-1024" class="wmd-preview-section preview-content">

<h4 id="arguments-168">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to pad.</li>
<li rel="2"><code>[length=0]</code> <em>(number)</em>: The padding length.</li>
<li rel="3"><code>[chars=' ']</code> <em>(string)</em>: The string used as padding.</li>
</ol>

</div><div id="wmd-preview-section-1025" class="wmd-preview-section preview-content">

<h4 id="returns-174">Returns</h4>

<p><em>(string)</em>:  Returns the padded string.</p>

</div><div id="wmd-preview-section-1026" class="wmd-preview-section preview-content">

<h4 id="example-174">Example</h4>

</div><div id="wmd-preview-section-1027" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.padRight(<span class="hljs-string">'abc'</span>, <span class="hljs-number">6</span>);<br><span class="hljs-comment">// =&gt; 'abc   '</span><br><br>_.padRight(<span class="hljs-string">'abc'</span>, <span class="hljs-number">6</span>, <span class="hljs-string">'_-'</span>);<br><span class="hljs-comment">// =&gt; 'abc_-_'</span><br><br>_.padRight(<span class="hljs-string">'abc'</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; 'abc'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1028" class="wmd-preview-section preview-content">

<h3 id="parseintstring-radix"><a id="_parseintstring-radix" href="http://undefined" target="_blank"></a><code>_.parseInt(string, [radix])</code></h3>

<p><a href="#_parseintstring-radix">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10684" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.parseint" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Converts <code>string</code> to an integer of the specified radix. If <code>radix</code> is <br>
<code>undefined</code> or <code>0</code>, a <code>radix</code> of <code>10</code> is used unless <code>value</code> is a hexadecimal, <br>
in which case a <code>radix</code> of <code>16</code> is used. <br>
<br>
<br>
<strong>Note:</strong> This method aligns with the <a href="https://es5.github.io/#E" target="_blank">ES5 implementation</a> <br>
of <code>parseInt</code>.</p>

</div><div id="wmd-preview-section-1029" class="wmd-preview-section preview-content">

<h4 id="arguments-169">Arguments</h4>

<ol><li rel="1"><code>string</code> <em>(string)</em>: The string to convert.</li>
<li rel="2"><code>[radix]</code> <em>(number)</em>: The radix to interpret <code>value</code> by.</li>
</ol>

</div><div id="wmd-preview-section-1030" class="wmd-preview-section preview-content">

<h4 id="returns-175">Returns</h4>

<p><em>(number)</em>:  Returns the converted integer.</p>

</div><div id="wmd-preview-section-1031" class="wmd-preview-section preview-content">

<h4 id="example-175">Example</h4>

</div><div id="wmd-preview-section-1032" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.parseInt(<span class="hljs-string">'08'</span>);<br><span class="hljs-comment">// =&gt; 8</span><br><br>_.map([<span class="hljs-string">'6'</span>, <span class="hljs-string">'08'</span>, <span class="hljs-string">'10'</span>], _.parseInt);<br><span class="hljs-comment">// =&gt; [6, 8, 10]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1033" class="wmd-preview-section preview-content">

<h3 id="repeatstring-n0"><a id="_repeatstring-n0" href="http://undefined" target="_blank"></a><code>_.repeat([string=''], [n=0])</code></h3>

<p><a href="#_repeatstring-n0">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10717" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.repeat" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Repeats the given string <code>n</code> times.</p>

</div><div id="wmd-preview-section-1034" class="wmd-preview-section preview-content">

<h4 id="arguments-170">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to repeat.</li>
<li rel="2"><code>[n=0]</code> <em>(number)</em>: The number of times to repeat the string.</li>
</ol>

</div><div id="wmd-preview-section-1035" class="wmd-preview-section preview-content">

<h4 id="returns-176">Returns</h4>

<p><em>(string)</em>:  Returns the repeated string.</p>

</div><div id="wmd-preview-section-1036" class="wmd-preview-section preview-content">

<h4 id="example-176">Example</h4>

</div><div id="wmd-preview-section-1037" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.repeat(<span class="hljs-string">'*'</span>, <span class="hljs-number">3</span>);<br><span class="hljs-comment">// =&gt; '***'</span><br><br>_.repeat(<span class="hljs-string">'abc'</span>, <span class="hljs-number">2</span>);<br><span class="hljs-comment">// =&gt; 'abcabc'</span><br><br>_.repeat(<span class="hljs-string">'abc'</span>, <span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; ''</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1038" class="wmd-preview-section preview-content">

<h3 id="snakecasestring"><a id="_snakecasestring" href="http://undefined" target="_blank"></a><code>_.snakeCase([string=''])</code></h3>

<p><a href="#_snakecasestring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10756" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.snakecase" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Converts <code>string</code> to <a href="https://en.wikipedia.org/wiki/Snake_case" target="_blank">snake case</a>.</p>

</div><div id="wmd-preview-section-1039" class="wmd-preview-section preview-content">

<h4 id="arguments-171">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to convert.</li>
</ol>

</div><div id="wmd-preview-section-1040" class="wmd-preview-section preview-content">

<h4 id="returns-177">Returns</h4>

<p><em>(string)</em>:  Returns the snake cased string.</p>

</div><div id="wmd-preview-section-1041" class="wmd-preview-section preview-content">

<h4 id="example-177">Example</h4>

</div><div id="wmd-preview-section-1042" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.snakeCase(<span class="hljs-string">'Foo Bar'</span>);<br><span class="hljs-comment">// =&gt; 'foo_bar'</span><br><br>_.snakeCase(<span class="hljs-string">'fooBar'</span>);<br><span class="hljs-comment">// =&gt; 'foo_bar'</span><br><br>_.snakeCase(<span class="hljs-string">'--foo-bar'</span>);<br><span class="hljs-comment">// =&gt; 'foo_bar'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1043" class="wmd-preview-section preview-content">

<h3 id="startcasestring"><a id="_startcasestring" href="http://undefined" target="_blank"></a><code>_.startCase([string=''])</code></h3>

<p><a href="#_startcasestring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10779" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.startcase" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Converts <code>string</code> to <a href="https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage" target="_blank">start case</a>.</p>

</div><div id="wmd-preview-section-1044" class="wmd-preview-section preview-content">

<h4 id="arguments-172">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to convert.</li>
</ol>

</div><div id="wmd-preview-section-1045" class="wmd-preview-section preview-content">

<h4 id="returns-178">Returns</h4>

<p><em>(string)</em>:  Returns the start cased string.</p>

</div><div id="wmd-preview-section-1046" class="wmd-preview-section preview-content">

<h4 id="example-178">Example</h4>

</div><div id="wmd-preview-section-1047" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.startCase(<span class="hljs-string">'--foo-bar'</span>);<br><span class="hljs-comment">// =&gt; 'Foo Bar'</span><br><br>_.startCase(<span class="hljs-string">'fooBar'</span>);<br><span class="hljs-comment">// =&gt; 'Foo Bar'</span><br><br>_.startCase(<span class="hljs-string">'__foo_bar__'</span>);<br><span class="hljs-comment">// =&gt; 'Foo Bar'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1048" class="wmd-preview-section preview-content">

<h3 id="startswithstring-target-position0"><a id="_startswithstring-target-position0" href="http://undefined" target="_blank"></a><code>_.startsWith([string=''], [target], [position=0])</code></h3>

<p><a href="#_startswithstring-target-position0">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10804" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.startswith" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Checks if <code>string</code> starts with the given target string.</p>

</div><div id="wmd-preview-section-1049" class="wmd-preview-section preview-content">

<h4 id="arguments-173">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to search.</li>
<li rel="2"><code>[target]</code> <em>(string)</em>: The string to search for.</li>
<li rel="3"><code>[position=0]</code> <em>(number)</em>: The position to search from.</li>
</ol>

</div><div id="wmd-preview-section-1050" class="wmd-preview-section preview-content">

<h4 id="returns-179">Returns</h4>

<p><em>(boolean)</em>:  Returns <code>true</code> if <code>string</code> starts with <code>target</code>, else <code>false</code>.</p>

</div><div id="wmd-preview-section-1051" class="wmd-preview-section preview-content">

<h4 id="example-179">Example</h4>

</div><div id="wmd-preview-section-1052" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.startsWith(<span class="hljs-string">'abc'</span>, <span class="hljs-string">'a'</span>);<br><span class="hljs-comment">// =&gt; true</span><br><br>_.startsWith(<span class="hljs-string">'abc'</span>, <span class="hljs-string">'b'</span>);<br><span class="hljs-comment">// =&gt; false</span><br><br>_.startsWith(<span class="hljs-string">'abc'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1053" class="wmd-preview-section preview-content">

<h3 id="templatestring-options"><a id="_templatestring-options" href="http://undefined" target="_blank"></a><code>_.template([string=''], [options])</code></h3>

<p><a href="#_templatestring-options">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L10909" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.template" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a compiled template function that can interpolate data properties <br>
in “interpolate” delimiters, HTML-escape interpolated data properties in <br>
“escape” delimiters, and execute JavaScript in “evaluate” delimiters. Data <br>
properties may be accessed as free variables in the template. If a setting <br>
object is provided it takes precedence over <code>_.templateSettings</code> values. <br>
<br>
<br>
<strong>Note:</strong> In the development build <code>_.template</code> utilizes <br>
<a href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl" target="_blank">sourceURLs</a> <br>
for easier debugging. <br>
<br>
<br>
For more information on precompiling templates see <br>
<a href="https://lodash.com/custom-builds" target="_blank">lodash’s custom builds documentation</a>. <br>
<br>
<br>
For more information on Chrome extension sandboxes see <br>
<a href="https://developer.chrome.com/extensions/sandboxingEval" target="_blank">Chrome’s extensions documentation</a>.</p>

</div><div id="wmd-preview-section-1054" class="wmd-preview-section preview-content">

<h4 id="arguments-174">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The template string.</li>
<li rel="2"><code>[options]</code> <em>(Object)</em>: The options object.</li>
<li rel="3"><code>[options.escape]</code> <em>(RegExp)</em>: The HTML “escape” delimiter.</li>
<li rel="4"><code>[options.evaluate]</code> <em>(RegExp)</em>: The “evaluate” delimiter.</li>
<li rel="5"><code>[options.imports]</code> <em>(Object)</em>: An object to import into the template as free variables.</li>
<li rel="6"><code>[options.interpolate]</code> <em>(RegExp)</em>: The “interpolate” delimiter.</li>
<li rel="7"><code>[options.sourceURL]</code> <em>(string)</em>: The sourceURL of the template’s compiled source.</li>
<li rel="8"><code>[options.variable]</code> <em>(string)</em>: The data object variable name.</li>
</ol>

</div><div id="wmd-preview-section-1055" class="wmd-preview-section preview-content">

<h4 id="returns-180">Returns</h4>

<p><em>(Function)</em>:  Returns the compiled template function.</p>

</div><div id="wmd-preview-section-1056" class="wmd-preview-section preview-content">

<h4 id="example-180">Example</h4>

</div><div id="wmd-preview-section-1057" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-comment">// using the "interpolate" delimiter to create a compiled template</span><br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'hello &lt;%= user %&gt;!'</span>);<br>compiled({ <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> });<br><span class="hljs-comment">// =&gt; 'hello fred!'</span><br><br><span class="hljs-comment">// using the HTML "escape" delimiter to escape data property values</span><br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'&lt;b&gt;&lt;%- value %&gt;&lt;/b&gt;'</span>);<br>compiled({ <span class="hljs-string">'value'</span>: <span class="hljs-string">'&lt;script&gt;'</span> });<br><span class="hljs-comment">// =&gt; '&lt;b&gt;&amp;lt;script&amp;gt;&lt;/b&gt;'</span><br><br><span class="hljs-comment">// using the "evaluate" delimiter to execute JavaScript and generate HTML</span><br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'&lt;% _.forEach(users, function(user) { %&gt;&lt;li&gt;&lt;%- user %&gt;&lt;/li&gt;&lt;% }); %&gt;'</span>);<br>compiled({ <span class="hljs-string">'users'</span>: [<span class="hljs-string">'fred'</span>, <span class="hljs-string">'barney'</span>] });<br><span class="hljs-comment">// =&gt; '&lt;li&gt;fred&lt;/li&gt;&lt;li&gt;barney&lt;/li&gt;'</span><br><br><span class="hljs-comment">// using the internal `print` function in "evaluate" delimiters</span><br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'&lt;% print("hello " + user); %&gt;!'</span>);<br>compiled({ <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> });<br><span class="hljs-comment">// =&gt; 'hello barney!'</span><br><br><span class="hljs-comment">// using the ES delimiter as an alternative to the default "interpolate" delimiter</span><br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'hello ${ user }!'</span>);<br>compiled({ <span class="hljs-string">'user'</span>: <span class="hljs-string">'pebbles'</span> });<br><span class="hljs-comment">// =&gt; 'hello pebbles!'</span><br><br><span class="hljs-comment">// using custom template delimiters</span><br>_.templateSettings.interpolate = <span class="hljs-regexp">/{{([\s\S]+?)}}/g</span>;<br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'hello {{ user }}!'</span>);<br>compiled({ <span class="hljs-string">'user'</span>: <span class="hljs-string">'mustache'</span> });<br><span class="hljs-comment">// =&gt; 'hello mustache!'</span><br><br><span class="hljs-comment">// using backslashes to treat delimiters as plain text</span><br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'&lt;%= "\\&lt;%- value %\\&gt;" %&gt;'</span>);<br>compiled({ <span class="hljs-string">'value'</span>: <span class="hljs-string">'ignored'</span> });<br><span class="hljs-comment">// =&gt; '&lt;%- value %&gt;'</span><br><br><span class="hljs-comment">// using the `imports` option to import `jQuery` as `jq`</span><br><span class="hljs-keyword">var</span> text = <span class="hljs-string">'&lt;% jq.each(users, function(user) { %&gt;&lt;li&gt;&lt;%- user %&gt;&lt;/li&gt;&lt;% }); %&gt;'</span>;<br><span class="hljs-keyword">var</span> compiled = _.template(text, { <span class="hljs-string">'imports'</span>: { <span class="hljs-string">'jq'</span>: jQuery } });<br>compiled({ <span class="hljs-string">'users'</span>: [<span class="hljs-string">'fred'</span>, <span class="hljs-string">'barney'</span>] });<br><span class="hljs-comment">// =&gt; '&lt;li&gt;fred&lt;/li&gt;&lt;li&gt;barney&lt;/li&gt;'</span><br><br><span class="hljs-comment">// using the `sourceURL` option to specify a custom sourceURL for the template</span><br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'hello &lt;%= user %&gt;!'</span>, { <span class="hljs-string">'sourceURL'</span>: <span class="hljs-string">'/basic/greeting.jst'</span> });<br>compiled(data);<br><span class="hljs-comment">// =&gt; find the source of "greeting.jst" under the Sources tab or Resources panel of the web inspector</span><br><br><span class="hljs-comment">// using the `variable` option to ensure a with-statement isn't used in the compiled template</span><br><span class="hljs-keyword">var</span> compiled = _.template(<span class="hljs-string">'hi &lt;%= data.user %&gt;!'</span>, { <span class="hljs-string">'variable'</span>: <span class="hljs-string">'data'</span> });<br>compiled.source;<br><span class="hljs-comment">// =&gt; function(data) {</span><br><span class="hljs-comment">//   var __t, __p = '';</span><br><span class="hljs-comment">//   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';</span><br><span class="hljs-comment">//   return __p;</span><br><span class="hljs-comment">// }</span><br><br><span class="hljs-comment">// using the `source` property to inline compiled templates for meaningful</span><br><span class="hljs-comment">// line numbers in error messages and a stack trace</span><br>fs.writeFileSync(path.join(cwd, <span class="hljs-string">'jst.js'</span>), <span class="hljs-string">'\<br>  var JST = {\<br>    "main": '</span> + _.template(mainText).source + <span class="hljs-string">'\<br>  };\<br>'</span>);<br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1058" class="wmd-preview-section preview-content">

<h3 id="trimstring-charswhitespace"><a id="_trimstring-charswhitespace" href="http://undefined" target="_blank"></a><code>_.trim([string=''], [chars=whitespace])</code></h3>

<p><a href="#_trimstring-charswhitespace">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11036" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.trim" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Removes leading and trailing whitespace or specified characters from <code>string</code>.</p>

</div><div id="wmd-preview-section-1059" class="wmd-preview-section preview-content">

<h4 id="arguments-175">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to trim.</li>
<li rel="2"><code>[chars=whitespace]</code> <em>(string)</em>: The characters to trim.</li>
</ol>

</div><div id="wmd-preview-section-1060" class="wmd-preview-section preview-content">

<h4 id="returns-181">Returns</h4>

<p><em>(string)</em>:  Returns the trimmed string.</p>

</div><div id="wmd-preview-section-1061" class="wmd-preview-section preview-content">

<h4 id="example-181">Example</h4>

</div><div id="wmd-preview-section-1062" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.trim(<span class="hljs-string">'  abc  '</span>);<br><span class="hljs-comment">// =&gt; 'abc'</span><br><br>_.trim(<span class="hljs-string">'-_-abc-_-'</span>, <span class="hljs-string">'_-'</span>);<br><span class="hljs-comment">// =&gt; 'abc'</span><br><br>_.map([<span class="hljs-string">'  foo  '</span>, <span class="hljs-string">'  bar  '</span>], _.trim);<br><span class="hljs-comment">// =&gt; ['foo', 'bar']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1063" class="wmd-preview-section preview-content">

<h3 id="trimleftstring-charswhitespace"><a id="_trimleftstring-charswhitespace" href="http://undefined" target="_blank"></a><code>_.trimLeft([string=''], [chars=whitespace])</code></h3>

<p><a href="#_trimleftstring-charswhitespace">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11067" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.trimleft" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Removes leading whitespace or specified characters from <code>string</code>.</p>

</div><div id="wmd-preview-section-1064" class="wmd-preview-section preview-content">

<h4 id="arguments-176">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to trim.</li>
<li rel="2"><code>[chars=whitespace]</code> <em>(string)</em>: The characters to trim.</li>
</ol>

</div><div id="wmd-preview-section-1065" class="wmd-preview-section preview-content">

<h4 id="returns-182">Returns</h4>

<p><em>(string)</em>:  Returns the trimmed string.</p>

</div><div id="wmd-preview-section-1066" class="wmd-preview-section preview-content">

<h4 id="example-182">Example</h4>

</div><div id="wmd-preview-section-1067" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.trimLeft(<span class="hljs-string">'  abc  '</span>);<br><span class="hljs-comment">// =&gt; 'abc  '</span><br><br>_.trimLeft(<span class="hljs-string">'-_-abc-_-'</span>, <span class="hljs-string">'_-'</span>);<br><span class="hljs-comment">// =&gt; 'abc-_-'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1068" class="wmd-preview-section preview-content">

<h3 id="trimrightstring-charswhitespace"><a id="_trimrightstring-charswhitespace" href="http://undefined" target="_blank"></a><code>_.trimRight([string=''], [chars=whitespace])</code></h3>

<p><a href="#_trimrightstring-charswhitespace">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11097" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.trimright" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Removes trailing whitespace or specified characters from <code>string</code>.</p>

</div><div id="wmd-preview-section-1069" class="wmd-preview-section preview-content">

<h4 id="arguments-177">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to trim.</li>
<li rel="2"><code>[chars=whitespace]</code> <em>(string)</em>: The characters to trim.</li>
</ol>

</div><div id="wmd-preview-section-1070" class="wmd-preview-section preview-content">

<h4 id="returns-183">Returns</h4>

<p><em>(string)</em>:  Returns the trimmed string.</p>

</div><div id="wmd-preview-section-1071" class="wmd-preview-section preview-content">

<h4 id="example-183">Example</h4>

</div><div id="wmd-preview-section-1072" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.trimRight(<span class="hljs-string">'  abc  '</span>);<br><span class="hljs-comment">// =&gt; '  abc'</span><br><br>_.trimRight(<span class="hljs-string">'-_-abc-_-'</span>, <span class="hljs-string">'_-'</span>);<br><span class="hljs-comment">// =&gt; '-_-abc'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1073" class="wmd-preview-section preview-content">

<h3 id="truncstring-options-optionslength30-optionsomission-optionsseparator"><a id="_truncstring-options-optionslength30-optionsomission-optionsseparator" href="http://undefined" target="_blank"></a><code>_.trunc([string=''], [options], [options.length=30], [options.omission='...'], [options.separator])</code></h3>

<p><a href="#_truncstring-options-optionslength30-optionsomission-optionsseparator">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11149" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.trunc" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Truncates <code>string</code> if it’s longer than the given maximum string length. <br>
The last characters of the truncated string are replaced with the omission <br>
string which defaults to “…”.</p>

</div><div id="wmd-preview-section-1074" class="wmd-preview-section preview-content">

<h4 id="arguments-178">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to truncate.</li>
<li rel="2"><code>[options]</code> <em>(Object|number)</em>: The options object or maximum string length.</li>
<li rel="3"><code>[options.length=30]</code> <em>(number)</em>: The maximum string length.</li>
<li rel="4"><code>[options.omission='...']</code> <em>(string)</em>: The string to indicate text is omitted.</li>
<li rel="5"><code>[options.separator]</code> <em>(RegExp|string)</em>: The separator pattern to truncate to.</li>
</ol>

</div><div id="wmd-preview-section-1075" class="wmd-preview-section preview-content">

<h4 id="returns-184">Returns</h4>

<p><em>(string)</em>:  Returns the truncated string.</p>

</div><div id="wmd-preview-section-1076" class="wmd-preview-section preview-content">

<h4 id="example-184">Example</h4>

</div><div id="wmd-preview-section-1077" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.trunc(<span class="hljs-string">'hi-diddly-ho there, neighborino'</span>);<br><span class="hljs-comment">// =&gt; 'hi-diddly-ho there, neighbo...'</span><br><br>_.trunc(<span class="hljs-string">'hi-diddly-ho there, neighborino'</span>, <span class="hljs-number">24</span>);<br><span class="hljs-comment">// =&gt; 'hi-diddly-ho there, n...'</span><br><br>_.trunc(<span class="hljs-string">'hi-diddly-ho there, neighborino'</span>, {<br>  <span class="hljs-string">'length'</span>: <span class="hljs-number">24</span>,<br>  <span class="hljs-string">'separator'</span>: <span class="hljs-string">' '</span><br>});<br><span class="hljs-comment">// =&gt; 'hi-diddly-ho there,...'</span><br><br>_.trunc(<span class="hljs-string">'hi-diddly-ho there, neighborino'</span>, {<br>  <span class="hljs-string">'length'</span>: <span class="hljs-number">24</span>,<br>  <span class="hljs-string">'separator'</span>: <span class="hljs-regexp">/,? +/</span><br>});<br><span class="hljs-comment">// =&gt; 'hi-diddly-ho there...'</span><br><br>_.trunc(<span class="hljs-string">'hi-diddly-ho there, neighborino'</span>, {<br>  <span class="hljs-string">'omission'</span>: <span class="hljs-string">' [...]'</span><br>});<br><span class="hljs-comment">// =&gt; 'hi-diddly-ho there, neig [...]'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1078" class="wmd-preview-section preview-content">

<h3 id="unescapestring"><a id="_unescapestring" href="http://undefined" target="_blank"></a><code>_.unescape([string=''])</code></h3>

<p><a href="#_unescapestring">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11219" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.unescape" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>The inverse of <code>_.escape</code>; this method converts the HTML entities <br>
<code>&amp;amp;</code>, <code>&amp;lt;</code>, <code>&amp;gt;</code>, <code>&amp;quot;</code>, <code>&amp;#39;</code>, and <code>&amp;#96;</code> in <code>string</code> to their <br>
corresponding characters. <br>
<br>
<br>
<strong>Note:</strong> No other HTML entities are unescaped. To unescape additional HTML <br>
entities use a third-party library like <a href="https://mths.be/he" target="_blank"><em>he</em></a>.</p>

</div><div id="wmd-preview-section-1079" class="wmd-preview-section preview-content">

<h4 id="arguments-179">Arguments</h4>

<ol start="1"><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to unescape.</li>
</ol>

</div><div id="wmd-preview-section-1080" class="wmd-preview-section preview-content">

<h4 id="returns-185">Returns</h4>

<p><em>(string)</em>:  Returns the unescaped string.</p>

</div><div id="wmd-preview-section-1081" class="wmd-preview-section preview-content">

<h4 id="example-185">Example</h4>

</div><div id="wmd-preview-section-1082" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.unescape(<span class="hljs-string">'fred, barney, &amp;amp; pebbles'</span>);<br><span class="hljs-comment">// =&gt; 'fred, barney, &amp; pebbles'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1083" class="wmd-preview-section preview-content">

<h3 id="wordsstring-pattern"><a id="_wordsstring-pattern" href="http://undefined" target="_blank"></a><code>_.words([string=''], [pattern])</code></h3>

<p><a href="#_wordsstring-pattern">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11244" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.words" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Splits <code>string</code> into an array of its words.</p>

</div><div id="wmd-preview-section-1084" class="wmd-preview-section preview-content">

<h4 id="arguments-180">Arguments</h4>

<ol><li rel="1"><code>[string='']</code> <em>(string)</em>: The string to inspect.</li>
<li rel="2"><code>[pattern]</code> <em>(RegExp|string)</em>: The pattern to match words.</li>
</ol>

</div><div id="wmd-preview-section-1085" class="wmd-preview-section preview-content">

<h4 id="returns-186">Returns</h4>

<p><em>(Array)</em>:  Returns the words of <code>string</code>.</p>

</div><div id="wmd-preview-section-1086" class="wmd-preview-section preview-content">

<h4 id="example-186">Example</h4>

</div><div id="wmd-preview-section-1087" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.words(<span class="hljs-string">'fred, barney, &amp; pebbles'</span>);<br><span class="hljs-comment">// =&gt; ['fred', 'barney', 'pebbles']</span><br><br>_.words(<span class="hljs-string">'fred, barney, &amp; pebbles'</span>, <span class="hljs-regexp">/[^, ]+/g</span>);<br><span class="hljs-comment">// =&gt; ['fred', 'barney', '&amp;', 'pebbles']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1088" class="wmd-preview-section preview-content">

<h2 id="utility-methods"><code>“Utility” Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-1089" class="wmd-preview-section preview-content">

<h3 id="attemptfunc"><a id="_attemptfunc" href="http://undefined" target="_blank"></a><code>_.attempt(func)</code></h3>

<p><a href="#_attemptfunc">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11274" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.attempt" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Attempts to invoke <code>func</code>, returning either the result or the caught error <br>
object. Any additional arguments are provided to <code>func</code> when it’s invoked.</p>

</div><div id="wmd-preview-section-1090" class="wmd-preview-section preview-content">

<h4 id="arguments-181">Arguments</h4>

<ol start="1"><li rel="1"><code>func</code> <em>(Function)</em>: The function to attempt.</li>
</ol>

</div><div id="wmd-preview-section-1091" class="wmd-preview-section preview-content">

<h4 id="returns-187">Returns</h4>

<p><em>(*)</em>:  Returns the <code>func</code> result or error object.</p>

</div><div id="wmd-preview-section-1092" class="wmd-preview-section preview-content">

<h4 id="example-187">Example</h4>

</div><div id="wmd-preview-section-1093" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-comment">// avoid throwing errors for invalid selectors</span><br><span class="hljs-keyword">var</span> elements = _.attempt(<span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(selector)</span> </span>{<br>  <span class="hljs-keyword">return</span> <span class="hljs-built_in">document</span>.querySelectorAll(selector);<br>}, <span class="hljs-string">'&gt;_&gt;'</span>);<br><br><span class="hljs-keyword">if</span> (_.isError(elements)) {<br>  elements = [];<br>}<br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1094" class="wmd-preview-section preview-content">

<h3 id="callbackfuncidentity-thisarg"><a id="_callbackfunc_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.callback([func=_.identity], [thisArg])</code></h3>

<p><a href="#_callbackfunc_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11320" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.callback" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes <code>func</code> with the <code>this</code> binding of <code>thisArg</code> <br>
and arguments of the created function. If <code>func</code> is a property name the <br>
created callback returns the property value for a given element. If <code>func</code> <br>
is an object the created callback returns <code>true</code> for elements that contain <br>
the equivalent object properties, otherwise it returns <code>false</code>.</p>

</div><div id="wmd-preview-section-1095" class="wmd-preview-section preview-content">

<h4 id="aliases-19">Aliases</h4>

<p><em>_.iteratee</em></p>

</div><div id="wmd-preview-section-1096" class="wmd-preview-section preview-content">

<h4 id="arguments-182">Arguments</h4>

<ol><li rel="1"><code>[func=_.identity]</code> <em>(*)</em>: The value to convert to a callback.</li>
<li rel="2"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>func</code>.</li>
</ol>

</div><div id="wmd-preview-section-1097" class="wmd-preview-section preview-content">

<h4 id="returns-188">Returns</h4>

<p><em>(Function)</em>:  Returns the callback.</p>

</div><div id="wmd-preview-section-1098" class="wmd-preview-section preview-content">

<h4 id="example-188">Example</h4>

</div><div id="wmd-preview-section-1099" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span> }<br>];<br><br><span class="hljs-comment">// wrap to create custom callback shorthands</span><br>_.callback = _.wrap(_.callback, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(callback, func, thisArg)</span> </span>{<br>  <span class="hljs-keyword">var</span> match = <span class="hljs-regexp">/^(.+?)__([gl]t)(.+)$/</span>.exec(func);<br>  <span class="hljs-keyword">if</span> (!match) {<br>    <span class="hljs-keyword">return</span> callback(func, thisArg);<br>  }<br>  <span class="hljs-keyword">return</span> <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(object)</span> </span>{<br>    <span class="hljs-keyword">return</span> match[<span class="hljs-number">2</span>] == <span class="hljs-string">'gt'</span><br>      ? object[match[<span class="hljs-number">1</span>]] &gt; match[<span class="hljs-number">3</span>]<br>      : object[match[<span class="hljs-number">1</span>]] &lt; match[<span class="hljs-number">3</span>];<br>  };<br>});<br><br>_.filter(users, <span class="hljs-string">'age__gt36'</span>);<br><span class="hljs-comment">// =&gt; [{ 'user': 'fred', 'age': 40 }]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1100" class="wmd-preview-section preview-content">

<h3 id="constantvalue"><a id="_constantvalue" href="http://undefined" target="_blank"></a><code>_.constant(value)</code></h3>

<p><a href="#_constantvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11345" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.constant" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that returns <code>value</code>.</p>

</div><div id="wmd-preview-section-1101" class="wmd-preview-section preview-content">

<h4 id="arguments-183">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: The value to return from the new function.</li>
</ol>

</div><div id="wmd-preview-section-1102" class="wmd-preview-section preview-content">

<h4 id="returns-189">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-1103" class="wmd-preview-section preview-content">

<h4 id="example-189">Example</h4>

</div><div id="wmd-preview-section-1104" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> };<br><span class="hljs-keyword">var</span> getter = _.constant(object);<br><br>getter() === object;<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1105" class="wmd-preview-section preview-content">

<h3 id="identityvalue"><a id="_identityvalue" href="http://undefined" target="_blank"></a><code>_.identity(value)</code></h3>

<p><a href="#_identityvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11366" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.identity" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>This method returns the first argument provided to it.</p>

</div><div id="wmd-preview-section-1106" class="wmd-preview-section preview-content">

<h4 id="arguments-184">Arguments</h4>

<ol start="1"><li rel="1"><code>value</code> <em>(*)</em>: Any value.</li>
</ol>

</div><div id="wmd-preview-section-1107" class="wmd-preview-section preview-content">

<h4 id="returns-190">Returns</h4>

<p><em>(*)</em>:  Returns <code>value</code>.</p>

</div><div id="wmd-preview-section-1108" class="wmd-preview-section preview-content">

<h4 id="example-190">Example</h4>

</div><div id="wmd-preview-section-1109" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> };<br><br>_.identity(object) === object;<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1110" class="wmd-preview-section preview-content">

<h3 id="matchessource"><a id="_matchessource" href="http://undefined" target="_blank"></a><code>_.matches(source)</code></h3>

<p><a href="#_matchessource">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11395" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.matches" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that performs a deep comparison between a given object <br>
and <code>source</code>, returning <code>true</code> if the given object has equivalent property <br>
values, else <code>false</code>. <br>
<br>
<br>
<strong>Note:</strong> This method supports comparing arrays, booleans, <code>Date</code> objects, <br>
numbers, <code>Object</code> objects, regexes, and strings. Objects are compared by <br>
their own, not inherited, enumerable properties. For comparing a single <br>
own or inherited property value see <code>_.matchesProperty</code>.</p>

</div><div id="wmd-preview-section-1111" class="wmd-preview-section preview-content">

<h4 id="arguments-185">Arguments</h4>

<ol start="1"><li rel="1"><code>source</code> <em>(Object)</em>: The object of property values to match.</li>
</ol>

</div><div id="wmd-preview-section-1112" class="wmd-preview-section preview-content">

<h4 id="returns-191">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-1113" class="wmd-preview-section preview-content">

<h4 id="example-191">Example</h4>

</div><div id="wmd-preview-section-1114" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span>, <span class="hljs-string">'age'</span>: <span class="hljs-number">36</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">true</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span>,   <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }<br>];<br><br>_.filter(users, _.matches({ <span class="hljs-string">'age'</span>: <span class="hljs-number">40</span>, <span class="hljs-string">'active'</span>: <span class="hljs-literal">false</span> }));<br><span class="hljs-comment">// =&gt; [{ 'user': 'fred', 'age': 40, 'active': false }]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1115" class="wmd-preview-section preview-content">

<h3 id="matchespropertypath-srcvalue"><a id="_matchespropertypath-srcvalue" href="http://undefined" target="_blank"></a><code>_.matchesProperty(path, srcValue)</code></h3>

<p><a href="#_matchespropertypath-srcvalue">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11423" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.matchesproperty" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that compares the property value of <code>path</code> on a given <br>
object to <code>value</code>. <br>
<br>
<br>
<strong>Note:</strong> This method supports comparing arrays, booleans, <code>Date</code> objects, <br>
numbers, <code>Object</code> objects, regexes, and strings. Objects are compared by <br>
their own, not inherited, enumerable properties.</p>

</div><div id="wmd-preview-section-1116" class="wmd-preview-section preview-content">

<h4 id="arguments-186">Arguments</h4>

<ol><li rel="1"><code>path</code> <em>(Array|string)</em>: The path of the property to get.</li>
<li rel="2"><code>srcValue</code> <em>(*)</em>: The value to match.</li>
</ol>

</div><div id="wmd-preview-section-1117" class="wmd-preview-section preview-content">

<h4 id="returns-192">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-1118" class="wmd-preview-section preview-content">

<h4 id="example-192">Example</h4>

</div><div id="wmd-preview-section-1119" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> users = [<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'barney'</span> },<br>  { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> }<br>];<br><br>_.find(users, _.matchesProperty(<span class="hljs-string">'user'</span>, <span class="hljs-string">'fred'</span>));<br><span class="hljs-comment">// =&gt; { 'user': 'fred' }</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1120" class="wmd-preview-section preview-content">

<h3 id="methodpath-args"><a id="_methodpath-args" href="http://undefined" target="_blank"></a><code>_.method(path, [args])</code></h3>

<p><a href="#_methodpath-args">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11450" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.method" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that invokes the method at <code>path</code> on a given object. <br>
Any additional arguments are provided to the invoked method.</p>

</div><div id="wmd-preview-section-1121" class="wmd-preview-section preview-content">

<h4 id="arguments-187">Arguments</h4>

<ol><li rel="1"><code>path</code> <em>(Array|string)</em>: The path of the method to invoke.</li>
<li rel="2"><code>[args]</code> <em>(…*)</em>: The arguments to invoke the method with.</li>
</ol>

</div><div id="wmd-preview-section-1122" class="wmd-preview-section preview-content">

<h4 id="returns-193">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-1123" class="wmd-preview-section preview-content">

<h4 id="example-193">Example</h4>

</div><div id="wmd-preview-section-1124" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> objects = [<br>  { <span class="hljs-string">'a'</span>: { <span class="hljs-string">'b'</span>: { <span class="hljs-string">'c'</span>: _.constant(<span class="hljs-number">2</span>) } } },<br>  { <span class="hljs-string">'a'</span>: { <span class="hljs-string">'b'</span>: { <span class="hljs-string">'c'</span>: _.constant(<span class="hljs-number">1</span>) } } }<br>];<br><br>_.map(objects, _.method(<span class="hljs-string">'a.b.c'</span>));<br><span class="hljs-comment">// =&gt; [2, 1]</span><br><br>_.invoke(_.sortBy(objects, _.method([<span class="hljs-string">'a'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-string">'c'</span>])), <span class="hljs-string">'a.b.c'</span>);<br><span class="hljs-comment">// =&gt; [1, 2]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1125" class="wmd-preview-section preview-content">

<h3 id="methodofobject-args"><a id="_methodofobject-args" href="http://undefined" target="_blank"></a><code>_.methodOf(object, [args])</code></h3>

<p><a href="#_methodofobject-args">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11478" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.methodof" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>The opposite of <code>_.method</code>; this method creates a function that invokes <br>
the method at a given path on <code>object</code>. Any additional arguments are <br>
provided to the invoked method.</p>

</div><div id="wmd-preview-section-1126" class="wmd-preview-section preview-content">

<h4 id="arguments-188">Arguments</h4>

<ol><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
<li rel="2"><code>[args]</code> <em>(…*)</em>: The arguments to invoke the method with.</li>
</ol>

</div><div id="wmd-preview-section-1127" class="wmd-preview-section preview-content">

<h4 id="returns-194">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-1128" class="wmd-preview-section preview-content">

<h4 id="example-194">Example</h4>

</div><div id="wmd-preview-section-1129" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = _.times(<span class="hljs-number">3</span>, _.constant),<br>    object = { <span class="hljs-string">'a'</span>: array, <span class="hljs-string">'b'</span>: array, <span class="hljs-string">'c'</span>: array };<br><br>_.map([<span class="hljs-string">'a[2]'</span>, <span class="hljs-string">'c[0]'</span>], _.methodOf(object));<br><span class="hljs-comment">// =&gt; [2, 0]</span><br><br>_.map([[<span class="hljs-string">'a'</span>, <span class="hljs-string">'2'</span>], [<span class="hljs-string">'c'</span>, <span class="hljs-string">'0'</span>]], _.methodOf(object));<br><span class="hljs-comment">// =&gt; [2, 0]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1130" class="wmd-preview-section preview-content">

<h3 id="mixinobjectlodash-source-options"><a id="_mixinobjectlodash-source-options" href="http://undefined" target="_blank"></a><code>_.mixin([object=lodash], source, [options])</code></h3>

<p><a href="#_mixinobjectlodash-source-options">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11520" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.mixin" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Adds all own enumerable function properties of a source object to the <br>
destination object. If <code>object</code> is a function then methods are added to <br>
its prototype as well. <br>
<br>
<br>
<strong>Note:</strong> Use <code>_.runInContext</code> to create a pristine <code>lodash</code> function to <br>
avoid conflicts caused by modifying the original.</p>

</div><div id="wmd-preview-section-1131" class="wmd-preview-section preview-content">

<h4 id="arguments-189">Arguments</h4>

<ol><li rel="1"><code>[object=lodash]</code> <em>(Function|Object)</em>: The destination object.</li>
<li rel="2"><code>source</code> <em>(Object)</em>: The object of functions to add.</li>
<li rel="3"><code>[options]</code> <em>(Object)</em>: The options object.</li>
<li rel="4"><code>[options.chain=true]</code> <em>(boolean)</em>: Specify whether the functions added are chainable.</li>
</ol>

</div><div id="wmd-preview-section-1132" class="wmd-preview-section preview-content">

<h4 id="returns-195">Returns</h4>

<p><em>(Function|Object)</em>:  Returns <code>object</code>.</p>

</div><div id="wmd-preview-section-1133" class="wmd-preview-section preview-content">

<h4 id="example-195">Example</h4>

</div><div id="wmd-preview-section-1134" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">vowels</span><span class="hljs-params">(string)</span> </span>{<br>  <span class="hljs-keyword">return</span> _.filter(string, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(v)</span> </span>{<br>    <span class="hljs-keyword">return</span> <span class="hljs-regexp">/[aeiou]/i</span>.test(v);<br>  });<br>}<br><br>_.mixin({ <span class="hljs-string">'vowels'</span>: vowels });<br>_.vowels(<span class="hljs-string">'fred'</span>);<br><span class="hljs-comment">// =&gt; ['e']</span><br><br>_(<span class="hljs-string">'fred'</span>).vowels().value();<br><span class="hljs-comment">// =&gt; ['e']</span><br><br>_.mixin({ <span class="hljs-string">'vowels'</span>: vowels }, { <span class="hljs-string">'chain'</span>: <span class="hljs-literal">false</span> });<br>_(<span class="hljs-string">'fred'</span>).vowels();<br><span class="hljs-comment">// =&gt; ['e']</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1135" class="wmd-preview-section preview-content">

<h3 id="noconflict"><a id="_noconflict" href="http://undefined" target="_blank"></a><code>_.noConflict()</code></h3>

<p><a href="#_noconflict">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11583" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.noconflict" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Reverts the <code>_</code> variable to its previous value and returns a reference to <br>
the <code>lodash</code> function.</p>

</div><div id="wmd-preview-section-1136" class="wmd-preview-section preview-content">

<h4 id="returns-196">Returns</h4>

<p><em>(Function)</em>:  Returns the <code>lodash</code> function.</p>

</div><div id="wmd-preview-section-1137" class="wmd-preview-section preview-content">

<h4 id="example-196">Example</h4>

</div><div id="wmd-preview-section-1138" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> lodash = _.noConflict();<br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1139" class="wmd-preview-section preview-content">

<h3 id="noop"><a id="_noop" href="http://undefined" target="_blank"></a><code>_.noop()</code></h3>

<p><a href="#_noop">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11602" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.noop" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>A no-operation function that returns <code>undefined</code> regardless of the <br>
arguments it receives.</p>

</div><div id="wmd-preview-section-1140" class="wmd-preview-section preview-content">

<h4 id="example-197">Example</h4>

</div><div id="wmd-preview-section-1141" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> object = { <span class="hljs-string">'user'</span>: <span class="hljs-string">'fred'</span> };<br><br>_.noop(object) === <span class="hljs-literal">undefined</span>;<br><span class="hljs-comment">// =&gt; true</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1142" class="wmd-preview-section preview-content">

<h3 id="propertypath"><a id="_propertypath" href="http://undefined" target="_blank"></a><code>_.property(path)</code></h3>

<p><a href="#_propertypath">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11628" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.property" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates a function that returns the property value at <code>path</code> on a <br>
given object.</p>

</div><div id="wmd-preview-section-1143" class="wmd-preview-section preview-content">

<h4 id="arguments-190">Arguments</h4>

<ol start="1"><li rel="1"><code>path</code> <em>(Array|string)</em>: The path of the property to get.</li>
</ol>

</div><div id="wmd-preview-section-1144" class="wmd-preview-section preview-content">

<h4 id="returns-197">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-1145" class="wmd-preview-section preview-content">

<h4 id="example-198">Example</h4>

</div><div id="wmd-preview-section-1146" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> objects = [<br>  { <span class="hljs-string">'a'</span>: { <span class="hljs-string">'b'</span>: { <span class="hljs-string">'c'</span>: <span class="hljs-number">2</span> } } },<br>  { <span class="hljs-string">'a'</span>: { <span class="hljs-string">'b'</span>: { <span class="hljs-string">'c'</span>: <span class="hljs-number">1</span> } } }<br>];<br><br>_.map(objects, _.property(<span class="hljs-string">'a.b.c'</span>));<br><span class="hljs-comment">// =&gt; [2, 1]</span><br><br>_.pluck(_.sortBy(objects, _.property([<span class="hljs-string">'a'</span>, <span class="hljs-string">'b'</span>, <span class="hljs-string">'c'</span>])), <span class="hljs-string">'a.b.c'</span>);<br><span class="hljs-comment">// =&gt; [1, 2]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1147" class="wmd-preview-section preview-content">

<h3 id="propertyofobject"><a id="_propertyofobject" href="http://undefined" target="_blank"></a><code>_.propertyOf(object)</code></h3>

<p><a href="#_propertyofobject">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11652" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.propertyof" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>The opposite of <code>_.property</code>; this method creates a function that returns <br>
the property value at a given path on <code>object</code>.</p>

</div><div id="wmd-preview-section-1148" class="wmd-preview-section preview-content">

<h4 id="arguments-191">Arguments</h4>

<ol start="1"><li rel="1"><code>object</code> <em>(Object)</em>: The object to query.</li>
</ol>

</div><div id="wmd-preview-section-1149" class="wmd-preview-section preview-content">

<h4 id="returns-198">Returns</h4>

<p><em>(Function)</em>:  Returns the new function.</p>

</div><div id="wmd-preview-section-1150" class="wmd-preview-section preview-content">

<h4 id="example-199">Example</h4>

</div><div id="wmd-preview-section-1151" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> array = [<span class="hljs-number">0</span>, <span class="hljs-number">1</span>, <span class="hljs-number">2</span>],<br>    object = { <span class="hljs-string">'a'</span>: array, <span class="hljs-string">'b'</span>: array, <span class="hljs-string">'c'</span>: array };<br><br>_.map([<span class="hljs-string">'a[2]'</span>, <span class="hljs-string">'c[0]'</span>], _.propertyOf(object));<br><span class="hljs-comment">// =&gt; [2, 0]</span><br><br>_.map([[<span class="hljs-string">'a'</span>, <span class="hljs-string">'2'</span>], [<span class="hljs-string">'c'</span>, <span class="hljs-string">'0'</span>]], _.propertyOf(object));<br><span class="hljs-comment">// =&gt; [2, 0]</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1152" class="wmd-preview-section preview-content">

<h3 id="rangestart0-end-step1"><a id="_rangestart0-end-step1" href="http://undefined" target="_blank"></a><code>_.range([start=0], end, [step=1])</code></h3>

<p><a href="#_rangestart0-end-step1">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11691" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.range" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Creates an array of numbers (positive and/or negative) progressing from <br>
<code>start</code> up to, but not including, <code>end</code>. If <code>end</code> is not specified it’s <br>
set to <code>start</code> with <code>start</code> then set to <code>0</code>. If <code>end</code> is less than <code>start</code> <br>
a zero-length range is created unless a negative <code>step</code> is specified.</p>

</div><div id="wmd-preview-section-1153" class="wmd-preview-section preview-content">

<h4 id="arguments-192">Arguments</h4>

<ol><li rel="1"><code>[start=0]</code> <em>(number)</em>: The start of the range.</li>
<li rel="2"><code>end</code> <em>(number)</em>: The end of the range.</li>
<li rel="3"><code>[step=1]</code> <em>(number)</em>: The value to increment or decrement by.</li>
</ol>

</div><div id="wmd-preview-section-1154" class="wmd-preview-section preview-content">

<h4 id="returns-199">Returns</h4>

<p><em>(Array)</em>:  Returns the new array of numbers.</p>

</div><div id="wmd-preview-section-1155" class="wmd-preview-section preview-content">

<h4 id="example-200">Example</h4>

</div><div id="wmd-preview-section-1156" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.range(<span class="hljs-number">4</span>);<br><span class="hljs-comment">// =&gt; [0, 1, 2, 3]</span><br><br>_.range(<span class="hljs-number">1</span>, <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; [1, 2, 3, 4]</span><br><br>_.range(<span class="hljs-number">0</span>, <span class="hljs-number">20</span>, <span class="hljs-number">5</span>);<br><span class="hljs-comment">// =&gt; [0, 5, 10, 15]</span><br><br>_.range(<span class="hljs-number">0</span>, -<span class="hljs-number">4</span>, -<span class="hljs-number">1</span>);<br><span class="hljs-comment">// =&gt; [0, -1, -2, -3]</span><br><br>_.range(<span class="hljs-number">1</span>, <span class="hljs-number">4</span>, <span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; [1, 1, 1]</span><br><br>_.range(<span class="hljs-number">0</span>);<br><span class="hljs-comment">// =&gt; []</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1157" class="wmd-preview-section preview-content">

<h3 id="runincontextcontextroot"><a id="_runincontextcontextroot" href="http://undefined" target="_blank"></a><code>_.runInContext([context=root])</code></h3>

<p><a href="#_runincontextcontextroot">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L723" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.runincontext" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Create a new pristine <code>lodash</code> function using the given <code>context</code> object.</p>

</div><div id="wmd-preview-section-1158" class="wmd-preview-section preview-content">

<h4 id="arguments-193">Arguments</h4>

<ol start="1"><li rel="1"><code>[context=root]</code> <em>(Object)</em>: The context object.</li>
</ol>

</div><div id="wmd-preview-section-1159" class="wmd-preview-section preview-content">

<h4 id="returns-200">Returns</h4>

<p><em>(Function)</em>:  Returns a new <code>lodash</code> function.</p>

</div><div id="wmd-preview-section-1160" class="wmd-preview-section preview-content">

<h4 id="example-201">Example</h4>

</div><div id="wmd-preview-section-1161" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.mixin({ <span class="hljs-string">'foo'</span>: _.constant(<span class="hljs-string">'foo'</span>) });<br><br><span class="hljs-keyword">var</span> lodash = _.runInContext();<br>lodash.mixin({ <span class="hljs-string">'bar'</span>: lodash.constant(<span class="hljs-string">'bar'</span>) });<br><br>_.isFunction(_.foo);<br><span class="hljs-comment">// =&gt; true</span><br>_.isFunction(_.bar);<br><span class="hljs-comment">// =&gt; false</span><br><br>lodash.isFunction(lodash.foo);<br><span class="hljs-comment">// =&gt; false</span><br>lodash.isFunction(lodash.bar);<br><span class="hljs-comment">// =&gt; true</span><br><br><span class="hljs-comment">// using `context` to mock `Date#getTime` use in `_.now`</span><br><span class="hljs-keyword">var</span> mock = _.runInContext({<br>  <span class="hljs-string">'Date'</span>: <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span> </span>{<br>    <span class="hljs-keyword">return</span> { <span class="hljs-string">'getTime'</span>: getTimeMock };<br>  }<br>});<br><br><span class="hljs-comment">// or creating a suped-up `defer` in Node.js</span><br><span class="hljs-keyword">var</span> defer = _.runInContext({ <span class="hljs-string">'setTimeout'</span>: setImmediate }).defer;<br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1162" class="wmd-preview-section preview-content">

<h3 id="timesn-iterateeidentity-thisarg"><a id="_timesn-iteratee_identity-thisarg" href="http://undefined" target="_blank"></a><code>_.times(n, [iteratee=_.identity], [thisArg])</code></h3>

<p><a href="#_timesn-iteratee_identity-thisarg">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11744" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.times" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Invokes the iteratee function <code>n</code> times, returning an array of the results <br>
of each invocation. The <code>iteratee</code> is bound to <code>thisArg</code> and invoked with <br>
one argument; (index).</p>

</div><div id="wmd-preview-section-1163" class="wmd-preview-section preview-content">

<h4 id="arguments-194">Arguments</h4>

<ol><li rel="1"><code>n</code> <em>(number)</em>: The number of times to invoke <code>iteratee</code>.</li>
<li rel="2"><code>[iteratee=_.identity]</code> <em>(Function)</em>: The function invoked per iteration.</li>
<li rel="3"><code>[thisArg]</code> <em>(*)</em>: The <code>this</code> binding of <code>iteratee</code>.</li>
</ol>

</div><div id="wmd-preview-section-1164" class="wmd-preview-section preview-content">

<h4 id="returns-201">Returns</h4>

<p><em>(Array)</em>:  Returns the array of results.</p>

</div><div id="wmd-preview-section-1165" class="wmd-preview-section preview-content">

<h4 id="example-202">Example</h4>

</div><div id="wmd-preview-section-1166" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript"><span class="hljs-keyword">var</span> diceRolls = _.times(<span class="hljs-number">3</span>, _.partial(_.random, <span class="hljs-number">1</span>, <span class="hljs-number">6</span>, <span class="hljs-literal">false</span>));<br><span class="hljs-comment">// =&gt; [3, 6, 4]</span><br><br>_.times(<span class="hljs-number">3</span>, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  mage.castSpell(n);<br>});<br><span class="hljs-comment">// =&gt; invokes `mage.castSpell(n)` three times with `n` of `0`, `1`, and `2`</span><br><br>_.times(<span class="hljs-number">3</span>, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(n)</span> </span>{<br>  <span class="hljs-keyword">this</span>.cast(n);<br>}, mage);<br><span class="hljs-comment">// =&gt; also invokes `mage.castSpell(n)` three times</span><br></code></pre>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1167" class="wmd-preview-section preview-content">

<h3 id="uniqueidprefix"><a id="_uniqueidprefix" href="http://undefined" target="_blank"></a><code>_.uniqueId([prefix])</code></h3>

<p><a href="#_uniqueidprefix">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L11782" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.uniqueid" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>Generates a unique ID. If <code>prefix</code> is provided the ID is appended to it.</p>

</div><div id="wmd-preview-section-1168" class="wmd-preview-section preview-content">

<h4 id="arguments-195">Arguments</h4>

<ol start="1"><li rel="1"><code>[prefix]</code> <em>(string)</em>: The value to prefix the ID with.</li>
</ol>

</div><div id="wmd-preview-section-1169" class="wmd-preview-section preview-content">

<h4 id="returns-202">Returns</h4>

<p><em>(string)</em>:  Returns the unique ID.</p>

</div><div id="wmd-preview-section-1170" class="wmd-preview-section preview-content">

<h4 id="example-203">Example</h4>

</div><div id="wmd-preview-section-1171" class="wmd-preview-section preview-content">

<pre class="prettyprint hljs-dark"><code class="language-js hljs javascript">_.uniqueId(<span class="hljs-string">'contact_'</span>);<br><span class="hljs-comment">// =&gt; 'contact_104'</span><br><br>_.uniqueId();<br><span class="hljs-comment">// =&gt; '105'</span><br></code></pre>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1172" class="wmd-preview-section preview-content">

<h2 id="methods-1"><code>Methods</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-1173" class="wmd-preview-section preview-content">

<h3 id="templatesettingsimports"><a id="_templatesettingsimports_" href="http://undefined" target="_blank"></a><code>_.templateSettings.imports._</code></h3>

<p><a href="#_templatesettingsimports_">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1122" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>A reference to the <code>lodash</code> function.</p>

<hr>

<!-- /div -->

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1174" class="wmd-preview-section preview-content">

<h2 id="properties-1"><code>Properties</code></h2>

<!-- div -->

</div><div id="wmd-preview-section-1175" class="wmd-preview-section preview-content">

<h3 id="version"><a id="_version" href="http://undefined" target="_blank"></a><code>_.VERSION</code></h3>

<p><a href="#_version">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L12300" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(string): The semantic version number.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1176" class="wmd-preview-section preview-content">

<h3 id="support"><a id="_support" href="http://undefined" target="_blank"></a><code>_.support</code></h3>

<p><a href="#_support">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L986" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.support" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>(Object): An object environment feature flags.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1177" class="wmd-preview-section preview-content">

<h3 id="supportenumerrorprops"><a id="_supportenumerrorprops" href="http://undefined" target="_blank"></a><code>_.support.enumErrorProps</code></h3>

<p><a href="#_supportenumerrorprops">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1003" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(boolean): Detect if <code>name</code> or <code>message</code> properties of <code>Error.prototype</code> are <br>
enumerable by default (IE &lt; 9, Safari &lt; 5.1).</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1178" class="wmd-preview-section preview-content">

<h3 id="supportenumprototypes"><a id="_supportenumprototypes" href="http://undefined" target="_blank"></a><code>_.support.enumPrototypes</code></h3>

<p><a href="#_supportenumprototypes">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1017" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(boolean): Detect if <code>prototype</code> properties are enumerable by default. <br>
<br>
<br>
Firefox &lt; 3.6, Opera &gt; 9.50 - Opera &lt; 11.60, and Safari &lt; 5.1 <br>
(if the prototype or a property on the prototype has been set) <br>
incorrectly set the <code>[[Enumerable]]</code> value of a function’s <code>prototype</code> <br>
property to <code>true</code>.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1179" class="wmd-preview-section preview-content">

<h3 id="supportnonenumshadows"><a id="_supportnonenumshadows" href="http://undefined" target="_blank"></a><code>_.support.nonEnumShadows</code></h3>

<p><a href="#_supportnonenumshadows">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1028" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(boolean): Detect if properties shadowing those on <code>Object.prototype</code> are non-enumerable. <br>
<br>
<br>
In IE &lt; 9 an object’s own properties, shadowing non-enumerable ones, <br>
are made non-enumerable as well (a.k.a the JScript <code>[[DontEnum]]</code> bug).</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1180" class="wmd-preview-section preview-content">

<h3 id="supportownlast"><a id="_supportownlast" href="http://undefined" target="_blank"></a><code>_.support.ownLast</code></h3>

<p><a href="#_supportownlast">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1036" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(boolean): Detect if own properties are iterated after inherited properties (IE &lt; 9).</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1181" class="wmd-preview-section preview-content">

<h3 id="supportspliceobjects"><a id="_supportspliceobjects" href="http://undefined" target="_blank"></a><code>_.support.spliceObjects</code></h3>

<p><a href="#_supportspliceobjects">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1051" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(boolean): Detect if <code>Array#shift</code> and <code>Array#splice</code> augment array-like objects <br>
correctly. <br>
<br>
<br>
Firefox &lt; 10, compatibility modes of IE 8, and IE &lt; 9 have buggy Array <br>
<code>shift()</code> and <code>splice()</code> functions that fail to remove the last element, <br>
<code>value[0]</code>, of array-like objects even though the “length” property is <br>
set to <code>0</code>. The <code>shift()</code> method is buggy in compatibility modes of IE 8, <br>
while <code>splice()</code> is buggy regardless of mode in IE &lt; 9.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1182" class="wmd-preview-section preview-content">

<h3 id="supportunindexedchars"><a id="_supportunindexedchars" href="http://undefined" target="_blank"></a><code>_.support.unindexedChars</code></h3>

<p><a href="#_supportunindexedchars">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1062" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(boolean): Detect lack of support for accessing string characters by index. <br>
<br>
<br>
IE &lt; 8 can’t access characters by index. IE 8 can only access characters <br>
by index on string literals, not string objects.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1183" class="wmd-preview-section preview-content">

<h3 id="templatesettings"><a id="_templatesettings" href="http://undefined" target="_blank"></a><code>_.templateSettings</code></h3>

<p><a href="#_templatesettings">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1074" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a> <a href="https://www.npmjs.com/package/lodash.templatesettings" title="See the npm package" target="_blank">Ⓝ</a></p>

<p>(Object): By default, the template delimiters used by lodash are like those in <br>
embedded Ruby (ERB). Change the following template settings to use <br>
alternative delimiters.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1184" class="wmd-preview-section preview-content">

<h3 id="templatesettingsescape"><a id="_templatesettingsescape" href="http://undefined" target="_blank"></a><code>_.templateSettings.escape</code></h3>

<p><a href="#_templatesettingsescape">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1082" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(RegExp): Used to detect <code>data</code> property values to be HTML-escaped.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1185" class="wmd-preview-section preview-content">

<h3 id="templatesettingsevaluate"><a id="_templatesettingsevaluate" href="http://undefined" target="_blank"></a><code>_.templateSettings.evaluate</code></h3>

<p><a href="#_templatesettingsevaluate">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1090" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(RegExp): Used to detect code to be evaluated.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1186" class="wmd-preview-section preview-content">

<h3 id="templatesettingsimports-1"><a id="_templatesettingsimports" href="http://undefined" target="_blank"></a><code>_.templateSettings.imports</code></h3>

<p><a href="#_templatesettingsimports">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1114" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(Object): Used to import variables into the compiled template.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1187" class="wmd-preview-section preview-content">

<h3 id="templatesettingsinterpolate"><a id="_templatesettingsinterpolate" href="http://undefined" target="_blank"></a><code>_.templateSettings.interpolate</code></h3>

<p><a href="#_templatesettingsinterpolate">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1098" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(RegExp): Used to detect <code>data</code> property values to inject.</p>

<hr>

<!-- /div -->

<!-- div -->

</div><div id="wmd-preview-section-1188" class="wmd-preview-section preview-content">

<h3 id="templatesettingsvariable"><a id="_templatesettingsvariable" href="http://undefined" target="_blank"></a><code>_.templateSettings.variable</code></h3>

<p><a href="#_templatesettingsvariable">#</a> <a href="https://github.com/lodash/lodash/blob/3.10.1/lodash.src.js#L1106" title="View in source" target="_blank">Ⓢ</a> <a href="#array" title="Jump back to the TOC.">Ⓣ</a></p>

<p>(string): Used to reference the data object in the template text.</p>

<hr>

<!-- /div -->

<!-- /div -->

<!-- /div --></div><div id="wmd-preview-section-footnotes" class="preview-content"></div></div></body></html>